summaryrefslogtreecommitdiff
path: root/units/systemd-tmpfiles-setup.service.in
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-04-30 23:08:15 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-04-30 23:08:15 +0200
commitadf70c5e4e6673353b8d702baee4e1d21eb05dfe (patch)
tree10681a46d779073e26624cf5297516667aacd3b1 /units/systemd-tmpfiles-setup.service.in
parent223a35581604897185c46dfc184b0fa32916d59b (diff)
binfmt, modules-load, sysctl, tmpfiles: add missing ConditionDirectoryNotEmpty=
Diffstat (limited to 'units/systemd-tmpfiles-setup.service.in')
-rw-r--r--units/systemd-tmpfiles-setup.service.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/units/systemd-tmpfiles-setup.service.in b/units/systemd-tmpfiles-setup.service.in
index b43f6f5a04..f90121e12e 100644
--- a/units/systemd-tmpfiles-setup.service.in
+++ b/units/systemd-tmpfiles-setup.service.in
@@ -11,7 +11,10 @@ DefaultDependencies=no
Wants=local-fs.target
After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target
Before=sysinit.target shutdown.target
-ConditionPathExists=/etc/tmpfiles.d
+ConditionDirectoryNotEmpty=|/usr/lib/tmpfiles.d
+ConditionDirectoryNotEmpty=|/usr/local/lib/tmpfiles.d
+ConditionDirectoryNotEmpty=|/etc/tmpfiles.d
+ConditionDirectoryNotEmpty=|/run/tmpfiles.d
[Service]
Type=oneshot