chrony: disable the whole timesyncd module when chronyd is enabled

Peviously only the timesyncd systemd unit was disabled. This meant
that when you activate a system that has chronyd enabled the following
strange startup behaviour takes place:

  systemd[1]: Starting chrony NTP daemon...
  systemd[1]: Stopping Network Time Synchronization...
  systemd[1]: Stopped chrony NTP daemon.
  systemd[1]: Starting Network Time Synchronization...
This commit is contained in:
Bas van Dijk 2018-06-22 12:02:35 +02:00
parent a8c71037e0
commit 56ef106848

View File

@ -109,7 +109,7 @@ in
home = stateDir;
};
systemd.services.timesyncd.enable = mkForce false;
services.timesyncd.enable = mkForce false;
systemd.services.chronyd =
{ description = "chrony NTP daemon";