1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-08 21:17:47 +03:00

unit: check more specific path to be written by systemd-binfmt

Follow-up for 41807efb15.
Replaces #25690.
This commit is contained in:
Yu Watanabe 2022-12-10 11:46:45 +09:00
parent 94ba5b1532
commit f74a7cb45c

View File

@ -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