Commit c1d090ab authored by Danny Roberts's avatar Danny Roberts
Browse files

Make rsyslog only restart once if you define multiple file_input resources.

parent 81943841
......@@ -39,7 +39,7 @@ action :create do
'state_file' => log_name,
'severity' => severity,
'facility' => facility
notifies :restart, "service[#{node['rsyslog']['service_name']}]"
notifies :restart, "service[#{node['rsyslog']['service_name']}]", :delayed
end
service node['rsyslog']['service_name'] do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment