From: Tom Hughes Date: Thu, 21 Dec 2023 10:14:42 +0000 (+0000) Subject: Set a timeout for the DNS rebuild service X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/e08ee09715dbd6f99e22ae746e6bbc2ffa3ea35a Set a timeout for the DNS rebuild service --- diff --git a/cookbooks/dns/recipes/default.rb b/cookbooks/dns/recipes/default.rb index bad9e5943..f62af1550 100644 --- a/cookbooks/dns/recipes/default.rb +++ b/cookbooks/dns/recipes/default.rb @@ -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"