Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mirror
rsyslog
Commits
c1d090ab
Commit
c1d090ab
authored
Aug 01, 2016
by
Danny Roberts
Browse files
Make rsyslog only restart once if you define multiple file_input resources.
parent
81943841
Changes
1
Show whitespace changes
Inline
Side-by-side
resources/file_input.rb
View file @
c1d090ab
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment