From: Vojtěch Káně Date: Wed, 16 Nov 2022 15:09:42 +0000 (+0100) Subject: Make the systemd service be ordered after autofs.service, so that it is ordered befor... X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;ds=sidebyside;p=nwho.git Make the systemd service be ordered after autofs.service, so that it is ordered before it during shutdown --- diff --git a/debian/changelog b/debian/changelog index b2f9fa7..5c8bca4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +nwho (1.15-3) stable; urgency=low + + * Systemd service is now ordered after autofs.service, therefore it is stopped before the state directory gets unmounted. + + -- Vojtech Kane Wed, 16 Nov 2022 15:50:28 +0100 + nwho (1.15-2) stable; urgency=medium * Systemd service now depends on network-online.target. diff --git a/debian/nwho.service b/debian/nwho.service index 7c82b24..aedb7d7 100644 --- a/debian/nwho.service +++ b/debian/nwho.service @@ -1,6 +1,7 @@ [Unit] Description=Network who service -After=network-online.target +After=network-online.target autofs.service +Wants=autofs.service [Service] EnvironmentFile=/etc/default/nwho