Commit 005c5150 authored by Julian Andres Klode's avatar Julian Andres Klode

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
parent 551ded4b
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment