X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-tmpfiles-clean.service.in;h=3c8e72ebf589640b1796ff00299cdd662f13826e;hb=adf70c5e4e6673353b8d702baee4e1d21eb05dfe;hp=002daf661b7b23ddea6b4fa9ae20ee5d0ffe2834;hpb=223a35581604897185c46dfc184b0fa32916d59b;p=elogind.git diff --git a/units/systemd-tmpfiles-clean.service.in b/units/systemd-tmpfiles-clean.service.in index 002daf661..3c8e72ebf 100644 --- a/units/systemd-tmpfiles-clean.service.in +++ b/units/systemd-tmpfiles-clean.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