summaryrefslogtreecommitdiff
path: root/units/systemd-tmpfiles-clean.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-20 00:15:39 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-20 00:15:39 +0200
commit497d1986c13032f1ef8f4592bb7ed8d3aa321a47 (patch)
treed79e5d1b9b79e92e57bd4cdfac640077d38dddf8 /units/systemd-tmpfiles-clean.service.in
parentae941762628441fb3d624a57eee8d1a5c15096cf (diff)
units: order systemd-tmpfiles-clean.service after time-sync.target
That way, on systems lacking an RTC we don't false start removing aged files too early.
Diffstat (limited to 'units/systemd-tmpfiles-clean.service.in')
-rw-r--r--units/systemd-tmpfiles-clean.service.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/units/systemd-tmpfiles-clean.service.in b/units/systemd-tmpfiles-clean.service.in
index 5946fcdd8e..31b2378410 100644
--- a/units/systemd-tmpfiles-clean.service.in
+++ b/units/systemd-tmpfiles-clean.service.in
@@ -9,8 +9,9 @@
Description=Cleanup of Temporary Directories
Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8)
DefaultDependencies=no
-After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target
-Before=sysinit.target shutdown.target
+Conflicts=shutdown.target
+After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target time-sync.target
+Before=shutdown.target
[Service]
Type=oneshot