summaryrefslogtreecommitdiff
path: root/debian/apt-daily.service
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-09-09 18:26:44 +0200
committerJulian Andres Klode <jak@debian.org>2017-09-09 18:36:10 +0200
commit11417c1058e1b8441ee8f30f948e854b7a6ce89e (patch)
treec681e34f9a49a44d909b2580ea094abd7407b5a4 /debian/apt-daily.service
parent669e9a9a3d80d4e60b96d676d0dae8a0be8bd252 (diff)
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.
Diffstat (limited to 'debian/apt-daily.service')
-rw-r--r--debian/apt-daily.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/apt-daily.service b/debian/apt-daily.service
index d98f88ffe..c81d3ea01 100644
--- a/debian/apt-daily.service
+++ b/debian/apt-daily.service
@@ -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