diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-06-20 00:15:39 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-06-20 00:15:39 +0200 |
commit | 497d1986c13032f1ef8f4592bb7ed8d3aa321a47 (patch) | |
tree | d79e5d1b9b79e92e57bd4cdfac640077d38dddf8 /units/systemd-tmpfiles-clean.service.in | |
parent | ae941762628441fb3d624a57eee8d1a5c15096cf (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.in | 5 |
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 |