summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-12-10 11:46:45 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-12-15 03:36:27 +0900
commitf74a7cb45c2458f90de6d37c70fa3afc1a3be279 (patch)
tree862c2334ac45a44276d7407b2f3a7172292572db /units
parent94ba5b15329d9d19277ca418bfd0266da98f7b2a (diff)
downloadsystemd-f74a7cb45c2458f90de6d37c70fa3afc1a3be279.tar.gz
unit: check more specific path to be written by systemd-binfmt
Follow-up for 41807efb1594ae8e71e0255e154ea7d17be2251a. Replaces #25690.
Diffstat (limited to 'units')
-rw-r--r--units/systemd-binfmt.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-binfmt.service.in b/units/systemd-binfmt.service.in
index a702c0d9d7..b04412e037 100644
--- a/units/systemd-binfmt.service.in
+++ b/units/systemd-binfmt.service.in
@@ -18,7 +18,7 @@ After=proc-sys-fs-binfmt_misc.automount
After=proc-sys-fs-binfmt_misc.mount
After=local-fs.target
Before=sysinit.target shutdown.target
-ConditionPathIsReadWrite=/proc/sys/
+ConditionPathIsMountPoint=/proc/sys/fs/binfmt_misc
ConditionDirectoryNotEmpty=|/lib/binfmt.d
ConditionDirectoryNotEmpty=|/usr/lib/binfmt.d
ConditionDirectoryNotEmpty=|/usr/local/lib/binfmt.d