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 ...@@ -39,7 +39,7 @@ action :create do
'state_file' => log_name, 'state_file' => log_name,
'severity' => severity, 'severity' => severity,
'facility' => facility 'facility' => facility
notifies :restart, "service[#{node['rsyslog']['service_name']}]" notifies :restart, "service[#{node['rsyslog']['service_name']}]", :delayed
end end
service node['rsyslog']['service_name'] do service node['rsyslog']['service_name'] do
Supports Markdown
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