X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/742a261c58b09d77fbbe7d506671a654f54d2eb5..8d2b8f1a0ab843825784d1e8d65429c8367f0847:/cookbooks/ntp/recipes/default.rb diff --git a/cookbooks/ntp/recipes/default.rb b/cookbooks/ntp/recipes/default.rb index 0abd9a4f6..ff5a40ae7 100644 --- a/cookbooks/ntp/recipes/default.rb +++ b/cookbooks/ntp/recipes/default.rb @@ -44,6 +44,10 @@ template "/etc/chrony/chrony.conf" do notifies :restart, "service[chrony]" end +service "systemd-timesyncd" do + action [:stop, :disable] +end + service "chrony" do action [:enable, :start] end