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 2022-09-30 16:05:54 +02:00
parent d6f6846464
commit b93562a1a1

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