Comment 2 for bug 1723761

Revision history for this message
Julian Andres Klode (juliank) wrote :

grr. So we actually need to add an After=network.target there for shutdown. For start up, we actually also need to do the whole network-online dance, meaning

<= 1.4.y:
 After=network-online.target Wants=network-online.target

>= 1.5.y:

 After=network.target network-online.target systemd-networkd.service NetworkManager.service connman.service
 ExecStartPre=-/usr/lib/apt/apt-helper wait-online

(basically, just copy that stuff from apt-daily.service)

Installer packages are fun!