From 3fb1d81c1b802491e95aa4d92931104bab846c40 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vojt=C4=9Bch=20K=C3=A1n=C4=9B?= Date: Wed, 16 Nov 2022 16:09:42 +0100 Subject: [PATCH] Make the systemd service be ordered after autofs.service, so that it is ordered before it during shutdown --- debian/changelog | 6 ++++++ debian/nwho.service | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 -- 2.39.5