From 005c5150d16e80c2322e0380dec9906be9cb7c08 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 25 Jun 2018 13:19:49 +0200 Subject: Ensure that we are online in apt-daily-upgrade.service Installer packages need us to be online, or they are blocking shutdowns in the worst case :( LP: #1723761 --- debian/apt-daily-upgrade.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'debian') 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 -- cgit v1.2.3