]> git.openstreetmap.org Git - chef.git/commitdiff
Set a timeout for the DNS rebuild service
authorTom Hughes <tom@compton.nu>
Thu, 21 Dec 2023 10:14:42 +0000 (10:14 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 21 Dec 2023 10:14:42 +0000 (10:14 +0000)
cookbooks/dns/recipes/default.rb

index bad9e59439c9ca6b40c99592ca9fb0ceae81e1ab..f62af155090a944d4ed048e8302aaa0f14a9cf5a 100644 (file)
@@ -173,6 +173,7 @@ systemd_service "dns-check" do
   description "Rebuild DNS zones with GeoDNS changes"
   exec_start "/usr/local/bin/dns-check"
   user "git"
+  runtime_max_sec 90
   sandbox :enable_network => true
   proc_subset "all"
   read_write_paths "/var/lib/dns"