From 2f26f0d5e7bba757223c5ff9e95282726f58e8a9 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sun, 2 Jul 2023 10:05:38 +0200 Subject: [PATCH] automount.service: Shut down before network On shutdown, automount tries to unmount all remaining mount points. This might include remote mountpoints. Order after network.target, so that automount gets stopped before network.target. See [1]. [1]: https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ --- misc_systemd_units/automount.service | 1 + 1 file changed, 1 insertion(+) diff --git a/misc_systemd_units/automount.service b/misc_systemd_units/automount.service index b5a0aad..f3516c4 100644 --- a/misc_systemd_units/automount.service +++ b/misc_systemd_units/automount.service @@ -3,6 +3,7 @@ DefaultDependencies=no Requires=sysinit.target After=sysinit.target Before=basic.target +After=network.target [Service] Type=forking