Remove eval calls from supervisor start functions

This fixes #77.
This commit is contained in:
William Hubbs 2016-09-19 18:03:57 -05:00
parent 83bb827edf
commit 0d1f1010c2
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ ssd_start()
service_inactive && _inactive=true service_inactive && _inactive=true
mark_service_inactive mark_service_inactive
fi fi
eval start-stop-daemon --start \ start-stop-daemon --start \
--exec $command \ --exec $command \
${chroot:+--chroot} $chroot \ ${chroot:+--chroot} $chroot \
${procname:+--name} $procname \ ${procname:+--name} $procname \

View File

@ -19,7 +19,7 @@ supervise_start()
fi fi
ebegin "Starting ${name:-$RC_SVCNAME}" ebegin "Starting ${name:-$RC_SVCNAME}"
eval supervise-daemon --start \ supervise-daemon --start \
${chroot:+--chroot} $chroot \ ${chroot:+--chroot} $chroot \
${pidfile:+--pidfile} $pidfile \ ${pidfile:+--pidfile} $pidfile \
${command_user+--user} $command_user \ ${command_user+--user} $command_user \