]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/dns/recipes/default.rb
Move log storage to backup server
[chef.git] / cookbooks / dns / recipes / default.rb
index 5fb18436500f62e5a35c69c685a9f6d9710059c5..9e9f93183552f47ff449550d3310e3353e5753a5 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.27.2"
+dnscontrol_version = "4.12.5"
 
 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"