summaryrefslogtreecommitdiff
path: root/debian/apt-daily.service
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-09-11 16:28:28 +0200
committerJulian Andres Klode <jak@debian.org>2017-09-11 16:29:53 +0200
commit8b50b1025e5ab2e0ca51b4c21a573adbd40ac185 (patch)
treef6f40203cc46943901e4a3936e83b9dad9c437fc /debian/apt-daily.service
parent5a72bf326cdcfcdbe44ff5ad1aef2eb55e3a4297 (diff)
apt-daily: Do not Wants=network-online, and add some more After=
We now wait for being online ourselves, so all we need to wait on is for services we are using to be online first. This avoids severe boot slowdowns by other services having specified an After=network-online.target without a Wants=. Gbp-Dch: Full
Diffstat (limited to 'debian/apt-daily.service')
-rw-r--r--debian/apt-daily.service3
1 files changed, 1 insertions, 2 deletions
diff --git a/debian/apt-daily.service b/debian/apt-daily.service
index c81d3ea01..f060487e6 100644
--- a/debian/apt-daily.service
+++ b/debian/apt-daily.service
@@ -2,8 +2,7 @@
Description=Daily apt download activities
Documentation=man:apt(8)
ConditionACPower=true
-After=network-online.target
-Wants=network-online.target
+After=network.target network-online.target systemd-networkd.service NetworkManager.service connman.service
[Service]
Type=oneshot