X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/87ae5946a0509b5ce8a11b8a9150567ed98e76f3..3a33d35c42600aa215df8467702c98bee73415f8:/cookbooks/overpass/recipes/default.rb diff --git a/cookbooks/overpass/recipes/default.rb b/cookbooks/overpass/recipes/default.rb index 3e7c538c9..720b11321 100644 --- a/cookbooks/overpass/recipes/default.rb +++ b/cookbooks/overpass/recipes/default.rb @@ -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}" ]