X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/e1f83766a92d045cc7588b1235a1435ff3d4b752..2ec091cf8fa9a04ffdaad237401de83f470ba2b2:/cookbooks/geodns/recipes/default.rb diff --git a/cookbooks/geodns/recipes/default.rb b/cookbooks/geodns/recipes/default.rb index 925b47c42..da1acad06 100644 --- a/cookbooks/geodns/recipes/default.rb +++ b/cookbooks/geodns/recipes/default.rb @@ -38,6 +38,10 @@ template "/etc/gdnsd/zones/geo.openstreetmap.org" do notifies :restart, "service[gdnsd]" end +service "systemd-resolved" do + action [:disable, :stop] +end + service "gdnsd" do action [:enable, :start] supports :status => true, :restart => true, :reload => true