Based on 497d1986c13032f1ef8f4592bb7ed8d3aa321a47 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 20 Jun 2014 00:15:39 +0200 Subject: [PATCH] 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. --- units/systemd-tmpfiles-clean.service.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- units/systemd-tmpfiles-clean.service.in +++ units/systemd-tmpfiles-clean.service.in 2014-06-24 10:47:57.398235644 +0000 @@ -10,8 +10,9 @@ Description=Cleanup of Temporary Directo Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8) DefaultDependencies=no Wants=local-fs.target -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 ConditionDirectoryNotEmpty=|/usr/lib/tmpfiles.d ConditionDirectoryNotEmpty=|/usr/local/lib/tmpfiles.d ConditionDirectoryNotEmpty=|/etc/tmpfiles.d