]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/dns/recipes/default.rb
hardware: install apt::hwraid before use
[chef.git] / cookbooks / dns / recipes / default.rb
index a0c74f5ca877642413858d7f5ef026100586e43e..a1b6e3a6665ae3d17857680c06988fd83b3e5e68 100644 (file)
@@ -42,7 +42,7 @@ package %w[
 
 cache_dir = Chef::Config[:file_cache_path]
 
 
 cache_dir = Chef::Config[:file_cache_path]
 
-dnscontrol_version = "3.31.1"
+dnscontrol_version = "4.12.0"
 
 dnscontrol_arch = if arm?
                     "arm64"
 
 dnscontrol_arch = if arm?
                     "arm64"
@@ -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"
   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"
   sandbox :enable_network => true
   proc_subset "all"
   read_write_paths "/var/lib/dns"