X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f98cab45781c7d11b22e615199db2c62962a1bfd..327d24752df2584f8d09837a8d30d60e901546fc:/cookbooks/web/templates/default/logrotate.web.erb diff --git a/cookbooks/web/templates/default/logrotate.web.erb b/cookbooks/web/templates/default/logrotate.web.erb index 085b7616c..ab906c688 100644 --- a/cookbooks/web/templates/default/logrotate.web.erb +++ b/cookbooks/web/templates/default/logrotate.web.erb @@ -13,7 +13,7 @@ <% if File.directory?("#{node[:web][:base_directory]}/rails") -%> /usr/bin/passenger-config restart-app <%= node[:web][:base_directory] %>/rails > /dev/null <% if node[:recipes].include?("logstash::forwarder") -%> - /usr/bin/service logstash-forwarder restart + /usr/bin/service logstash-forwarder restart > /dev/null <% end -%> <% end -%> <% if File.directory?("#{node[:web][:base_directory]}/gpx-import") -%>