You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've fixed it in my environment by replacing a portion of the start() block in daemon.sysv.erb template file starting at line 54 like this:
<%- if ! @options.strip.empty? -%> <%- require 'shellwords' -%>"'$DAEMON' <%= Shellwords.escape(@options) %> >> '$LOG_FILE' 2>&1 &"
<%- end -%> <%- if @options.strip.empty? -%>"'$DAEMON' >> '$LOG_FILE' 2>&1 &"
<%- end -%>
I'm sure there are more elegant solutions to this as it probably took me about 30 minutes to come up with the code above but hey, it works and I'm hoping someone more skilled than me can take this and refine it.
The text was updated successfully, but these errors were encountered:
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
What behaviour did you expect instead
No change from "'$DAEMON' >> '$LOG_FILE' 2>&1 &"
Output log
Any additional information you'd like to impart
I've fixed it in my environment by replacing a portion of the start() block in
daemon.sysv.erb
template file starting at line 54 like this:I'm sure there are more elegant solutions to this as it probably took me about 30 minutes to come up with the code above but hey, it works and I'm hoping someone more skilled than me can take this and refine it.
The text was updated successfully, but these errors were encountered: