X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f98cab45781c7d11b22e615199db2c62962a1bfd..ecb5d5beac1e41d30e47daa6a034c59b33027d12:/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") -%>