]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/overpass/recipes/default.rb
Add clone civicrm-staging cookbook
[chef.git] / cookbooks / overpass / recipes / default.rb
index 3e7c538c902d4beb106a1ccf9e4192a4bd6d40b7..720b113216d342abe8f6ccec947cd0aa5f15eb28 100644 (file)
@@ -185,6 +185,7 @@ systemd_service "overpass-update" do
   exec_start "#{basedir}/bin/overpass-update-db"
   standard_output "append:#{logdir}/update.log"
   user username
+  restart "on-success"
 end
 
 if node[:overpass][:meta_mode] == "attic"
@@ -249,6 +250,7 @@ end
 prometheus_exporter "overpass" do
   port 9898
   user username
+  restrict_address_families "AF_UNIX"
   options [
     "--overpass.base-directory=#{basedir}"
   ]