summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/apt-daily-upgrade.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/apt-daily-upgrade.service b/debian/apt-daily-upgrade.service
index 9652f58fe..37a2499d1 100644
--- a/debian/apt-daily-upgrade.service
+++ b/debian/apt-daily-upgrade.service
@@ -2,10 +2,11 @@
Description=Daily apt upgrade and clean activities
Documentation=man:apt(8)
ConditionACPower=true
-After=apt-daily.service
+After=apt-daily.service network.target network-online.target systemd-networkd.service NetworkManager.service connman.service
[Service]
Type=oneshot
+ExecStartPre=-/usr/lib/apt/apt-helper wait-online
ExecStart=/usr/lib/apt/apt.systemd.daily install
KillMode=process
TimeoutStopSec=900