X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4193b7c3aea52c461d1988aacb4e68751b533515..1a062eb5304d0ef835313e5948053fcdccf20ecf:/cookbooks/planet/recipes/dump.rb?ds=sidebyside diff --git a/cookbooks/planet/recipes/dump.rb b/cookbooks/planet/recipes/dump.rb index 7bd11aece..f7a143181 100644 --- a/cookbooks/planet/recipes/dump.rb +++ b/cookbooks/planet/recipes/dump.rb @@ -54,7 +54,7 @@ end git "/opt/planet-dump-ng" do action :sync repository "https://github.com/zerebubuth/planet-dump-ng.git" - revision "v1.2.6" + revision "v1.2.7" depth 1 user "root" group "root" @@ -94,7 +94,7 @@ directory "/store/planetdump" do recursive true end -%w[planetdump planet-mirror-redirect-update].each do |program| +%w[planetdump planetdump-trigger planet-mirror-redirect-update].each do |program| template "/usr/local/bin/#{program}" do source "#{program}.erb" owner "root" @@ -128,6 +128,7 @@ end service "planetdump-trigger" do action [:enable, :start] + subscribes :restart, "template[/usr/local/bin/planetdump-trigger]" end systemd_service "planet-dump-mirror" do