mirror of
https://github.com/systemd/systemd
synced 2024-10-15 20:45:09 +00:00
units: stop automount unit when shutting down
This is currently our only .automount unit. We wouldn't want to trigger it accidentally during shutdown, so let's stop it too.
This commit is contained in:
parent
3745355764
commit
dc16846c26
|
@ -13,6 +13,7 @@ Documentation=https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.htm
|
||||||
Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
|
Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Before=sysinit.target
|
Before=sysinit.target
|
||||||
|
Conflicts=shutdown.target
|
||||||
ConditionPathExists=/proc/sys/fs/binfmt_misc/
|
ConditionPathExists=/proc/sys/fs/binfmt_misc/
|
||||||
ConditionPathIsReadWrite=/proc/sys/
|
ConditionPathIsReadWrite=/proc/sys/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue