diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-06-01 08:05:03 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-06-07 13:38:28 +0200 |
commit | dc16846c26287fd2081eb3c4a73487c9b186e2b7 (patch) | |
tree | 6e3c781981a48d0e848675ca4ea235f402a52340 /units/proc-sys-fs-binfmt_misc.automount | |
parent | 374535576409f6c7a4901903c3ef95fbf8af6e4f (diff) | |
download | systemd-dc16846c26287fd2081eb3c4a73487c9b186e2b7.tar.gz |
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.
Diffstat (limited to 'units/proc-sys-fs-binfmt_misc.automount')
-rw-r--r-- | units/proc-sys-fs-binfmt_misc.automount | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/proc-sys-fs-binfmt_misc.automount b/units/proc-sys-fs-binfmt_misc.automount index a71e249976..172c8757ab 100644 --- a/units/proc-sys-fs-binfmt_misc.automount +++ b/units/proc-sys-fs-binfmt_misc.automount @@ -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 DefaultDependencies=no Before=sysinit.target +Conflicts=shutdown.target ConditionPathExists=/proc/sys/fs/binfmt_misc/ ConditionPathIsReadWrite=/proc/sys/ |