X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d054b1902c58aeda444f9c574e46c7638a65544e..6a7bc8fd69a96ef32e66bce9dda9e97375223f05:/cookbooks/web/templates/default/logrotate.web.erb?ds=sidebyside diff --git a/cookbooks/web/templates/default/logrotate.web.erb b/cookbooks/web/templates/default/logrotate.web.erb index bc38d4515..f14a2c1ea 100644 --- a/cookbooks/web/templates/default/logrotate.web.erb +++ b/cookbooks/web/templates/default/logrotate.web.erb @@ -17,7 +17,7 @@ <% end -%> <% end -%> <% if File.directory?("#{node[:web][:base_directory]}/gpx-import") -%> - /etc/init.d/gpx-import rotated + /bin/systemctl reload gpx-import <% end -%> <% if File.directory?("#{node[:web][:base_directory]}/cgimap") -%> /bin/systemctl reload cgimap