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