Browse Source

apt-daily: Pull in network-online.target in service, not timer

There's no real point in pulling it in in the timer already,
and it it somewhat saver to do so in the service.
tags/devuan/2.0.1+devuan1
Julian Andres Klode 3 years ago
parent
commit
11417c1058
2 changed files with 2 additions and 2 deletions
  1. +2
    -0
      debian/apt-daily.service
  2. +0
    -2
      debian/apt-daily.timer

+ 2
- 0
debian/apt-daily.service View File

@@ -2,6 +2,8 @@
Description=Daily apt download activities
Documentation=man:apt(8)
ConditionACPower=true
After=network-online.target
Wants=network-online.target

[Service]
Type=oneshot


+ 0
- 2
debian/apt-daily.timer View File

@@ -1,7 +1,5 @@
[Unit]
Description=Daily apt download activities
After=network-online.target
Wants=network-online.target

[Timer]
OnCalendar=*-*-* 6,18:00


Loading…
Cancel
Save