chiark / gitweb /
tmpfiles: integrate kay's directory cleanup code and otherwise beef up tmpfiles quite...
[elogind.git] / units / systemd-tmpfiles-setup.service.in
similarity index 85%
rename from units/systemd-tmpfiles.service.in
rename to units/systemd-tmpfiles-setup.service.in
index 855573e2b47915e878e28f7339c078483df4e91b..df80e82be9577e4a5af3a56bc73874e59ed784e5 100644 (file)
@@ -11,8 +11,9 @@ 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
 
 [Service]
 Type=oneshot
 RemainAfterExit=yes
-ExecStart=@rootlibexecdir@/systemd-tmpfiles
+ExecStart=@rootlibexecdir@/systemd-tmpfiles --create --remove