Skip to content

Commit

Permalink
Add quotes around the command to daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
Damon Buckwalter committed Feb 10, 2019
1 parent 492d18f commit e14e5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/daemon.sysv.erb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ start() {
daemon --user=<%= @user %> \
--pidfile="$PID_FILE" \
<%- require 'shellwords' -%>
"$DAEMON" <%= Shellwords.escape(@options) %> >> "$LOG_FILE" 2>&1 &
"'$DAEMON' <%= Shellwords.escape(@options) %> >> '$LOG_FILE' 2>&1 &"
retcode=$?
sleep 1
mkpidfile
Expand Down

0 comments on commit e14e5fb

Please sign in to comment.