summaryrefslogtreecommitdiff
path: root/units/systemd-tmpfiles-setup.service.in
diff options
context:
space:
mode:
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