mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
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:
parent
d6f6846464
commit
b93562a1a1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user