Browse Source

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
tags/devuan/2.0.1+devuan1
Julian Andres Klode 2 years ago
parent
commit
005c5150d1
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      debian/apt-daily-upgrade.service

+ 2
- 1
debian/apt-daily-upgrade.service View File

@@ -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

Loading…
Cancel
Save