Revert "Remove eval calls from supervisor start functions"
This reverts commit 0d1f1010c2
.
We need the eval in case someone uses something like:
command_args="this \"is a\" test"
This is related to #77.
This commit is contained in:
@@ -19,7 +19,10 @@ supervise_start()
|
||||
fi
|
||||
|
||||
ebegin "Starting ${name:-$RC_SVCNAME}"
|
||||
supervise-daemon --start \
|
||||
# The eval call is necessary for cases like:
|
||||
# command_args="this \"is a\" test"
|
||||
# to work properly.
|
||||
eval supervise-daemon --start \
|
||||
${chroot:+--chroot} $chroot \
|
||||
${pidfile:+--pidfile} $pidfile \
|
||||
${command_user+--user} $command_user \
|
||||
|
Reference in New Issue
Block a user