chiark / gitweb /
timedated: introduce systemd-timedated-ntp.target which is controlled by timedated...
authorLennart Poettering <lennart@poettering.net>
Wed, 25 Apr 2012 14:49:02 +0000 (16:49 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 25 Apr 2012 14:49:02 +0000 (16:49 +0200)
commite2875c46936a16efc0f58f9e6e2570cdda8d6d98
tree7d21facecc4f00e6f046421208185c5f3ebadc52
parentbc2f673ec24b59948fcfc35b3077fda0314e69d8
timedated: introduce systemd-timedated-ntp.target which is controlled by timedated's NTP setting

We shouldn't hardcode the name of the NTP implementation in the
timedated mechanism, especially since Fedora currently switched from NTP
to chrony.

This patch introduces a new target that is enabled/disabled instead of
the actual NTP implementation. The various NTP implementations should
then add .wants/ symlinks to their services and BindTo back to the
target, so that their implementations are started/stopped jointly with
the target.

https://bugzilla.redhat.com/show_bug.cgi?id=815748
Makefile.am
src/timedate/timedated.c
units/systemd-timedated-ntp.target [new file with mode: 0644]