X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-tmpfiles-setup.service.in;h=f90121e12e98653f8e2c16b620b1642fcc550797;hp=df80e82be9577e4a5af3a56bc73874e59ed784e5;hb=57020a3abff20f176e9f0cbb982d7977119d6f08;hpb=3b63d2d31d0850bd7a81ab9b468218d2c4c461e8 diff --git a/units/systemd-tmpfiles-setup.service.in b/units/systemd-tmpfiles-setup.service.in index df80e82be..f90121e12 100644 --- a/units/systemd-tmpfiles-setup.service.in +++ b/units/systemd-tmpfiles-setup.service.in @@ -10,10 +10,13 @@ Description=Recreate Volatile Files and Directories DefaultDependencies=no Wants=local-fs.target After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target -Before=basic.target shutdown.target -ConditionPathExists=/etc/tmpfiles.d +Before=sysinit.target shutdown.target +ConditionDirectoryNotEmpty=|/usr/lib/tmpfiles.d +ConditionDirectoryNotEmpty=|/usr/local/lib/tmpfiles.d +ConditionDirectoryNotEmpty=|/etc/tmpfiles.d +ConditionDirectoryNotEmpty=|/run/tmpfiles.d [Service] Type=oneshot RemainAfterExit=yes -ExecStart=@rootlibexecdir@/systemd-tmpfiles --create --remove +ExecStart=@rootbindir@/systemd-tmpfiles --create --remove