1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 08:26:52 +03:00
systemd/src/timedate
Zbigniew Jędrzejewski-Szmek 0957790b5f timedated: always enable&start the service with highest priority
This removes a special case that was implemented before: if some service
was already enabled, we'd treat it as having higher priority.

From https://bugzilla.redhat.com/show_bug.cgi?id=1735584#c4:
> Setting ntp off and on should give the same result as just setting it
> on. There should be no stickiness (hidden state). It should behave like
> running an ansible role.
>
> The other service might have been enabled because no other was installed at
> the time. If I install a new NTP service with a higher priority, setting ntp
> on should enable and start the new service, and disable all other. Also, if
> for some reason multiple services are enabled, after setting ntp on there
> should be only one enabled to avoid systemd selecting between them randomly
> on the next boot.
2019-08-06 15:04:03 +02:00
..
meson.build Drop my copyright headers 2018-06-14 13:03:20 +02:00
org.freedesktop.timedate1.conf Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
org.freedesktop.timedate1.policy timedatectl: do not wrap polkit policy message 2018-05-18 00:03:15 +09:00
org.freedesktop.timedate1.service Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
timedatectl.c timedatectl: add 'ntp-servers' and 'revert' commands to modify link NTP servers 2019-07-17 06:59:12 +09:00
timedated.c timedated: always enable&start the service with highest priority 2019-08-06 15:04:03 +02:00