units: make sure proc-sys-binfmt_misc.automount is actually stopped

As with other units, stopping of the automount requires actual work,
and without the ordering dependency systemd might not execute the stop
job before shutdown.target is reached and units ordered after that are
executed.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2023-05-23 12:39:34 +02:00
parent d6f6846464
commit b93562a1a1
+1
View File
@@ -18,6 +18,7 @@ ConditionPathIsReadWrite=/proc/sys/
DefaultDependencies=no
Before=sysinit.target
Conflicts=shutdown.target
Before=shutdown.target
[Automount]
Where=/proc/sys/fs/binfmt_misc