summaryrefslogtreecommitdiffstats
path: root/units/systemd-tmpfiles-clean.service.in
diff options
context:
space:
mode:
authorPeter A. Bigot <pab@pabigot.com>2018-04-30 14:05:29 +0200
committerLennart Poettering <lennart@poettering.net>2019-04-08 14:34:05 +0200
commit4ea0f675aef5996ccdb97adc9700564d18f95901 (patch)
tree7961faa2b985bb07cf472f960bc1778b10348f2b /units/systemd-tmpfiles-clean.service.in
parentman/systemd-sysusers: Fix typo in *from* to *form* (diff)
downloadsystemd-4ea0f675aef5996ccdb97adc9700564d18f95901.tar.xz
systemd-4ea0f675aef5996ccdb97adc9700564d18f95901.zip
units: add time-set.target
time-sync.target is supposed to indicate system clock is synchronized with a remote clock, but as used through 241 it only provided a system clock that was updated based on a locally-maintained timestamp. Systems that are powered off for extended periods would not come up with accurate time. Retain the existing behavior using a new time-set.target leaving time-sync.target for cases where accuracy is required. Closes #8861
Diffstat (limited to 'units/systemd-tmpfiles-clean.service.in')
-rw-r--r--units/systemd-tmpfiles-clean.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-tmpfiles-clean.service.in b/units/systemd-tmpfiles-clean.service.in
index d1025afadb..9e2f04bfef 100644
--- a/units/systemd-tmpfiles-clean.service.in
+++ b/units/systemd-tmpfiles-clean.service.in
@@ -12,7 +12,7 @@ Description=Cleanup of Temporary Directories
Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8)
DefaultDependencies=no
Conflicts=shutdown.target
-After=local-fs.target time-sync.target
+After=local-fs.target time-set.target
Before=shutdown.target
[Service]