]> git.ipfire.org Git - thirdparty/systemd.git/commit - units/meson.build
units: add time-set.target
authorPeter A. Bigot <pab@pabigot.com>
Mon, 30 Apr 2018 12:05:29 +0000 (07:05 -0500)
committerLennart Poettering <lennart@poettering.net>
Mon, 8 Apr 2019 12:34:05 +0000 (14:34 +0200)
commit4ea0f675aef5996ccdb97adc9700564d18f95901
tree7961faa2b985bb07cf472f960bc1778b10348f2b
parent82d0776da258eaf2c619f4c58236c22c468c346e
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
man/systemd.special.xml
units/meson.build
units/systemd-timesyncd.service.in
units/systemd-tmpfiles-clean.service.in
units/time-set.target [new file with mode: 0644]
units/time-sync.target