X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/742a261c58b09d77fbbe7d506671a654f54d2eb5..2b424bece10f19c99cc1f97b6df05e1f5dfc92be:/cookbooks/ntp/recipes/default.rb?ds=sidebyside 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