X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/9609940accb4bc20bc380f2b35e850c0f5d0f66d..96170ed36bbce5a18d67fed0beeb23594809ac62:/cookbooks/logstash/recipes/default.rb diff --git a/cookbooks/logstash/recipes/default.rb b/cookbooks/logstash/recipes/default.rb index 73198d593..86711fb31 100644 --- a/cookbooks/logstash/recipes/default.rb +++ b/cookbooks/logstash/recipes/default.rb @@ -45,7 +45,7 @@ template "/etc/logstash/conf.d/chef.conf" do user "root" group "root" mode 0644 - notifies :restart, "service[logstash]" + notifies :reload, "service[logstash]" end file "/etc/logrotate.d/logstash" do @@ -54,7 +54,7 @@ end service "logstash" do action [:enable, :start] - supports :status => true, :restart => true + supports :status => true, :restart => true, :reload => true end template "/etc/cron.daily/expire-logstash" do