summaryrefslogtreecommitdiff
path: root/units/proc-sys-fs-binfmt_misc.automount
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-06-01 08:05:03 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-06-07 13:38:28 +0200
commitdc16846c26287fd2081eb3c4a73487c9b186e2b7 (patch)
tree6e3c781981a48d0e848675ca4ea235f402a52340 /units/proc-sys-fs-binfmt_misc.automount
parent374535576409f6c7a4901903c3ef95fbf8af6e4f (diff)
downloadsystemd-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.automount1
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/