fixed init script

This commit is contained in:
Manuel Friedli 2014-09-24 18:52:31 +02:00
parent 126c2ebd2f
commit 821e718c8a
3 changed files with 6 additions and 28 deletions

View file

@ -29,7 +29,7 @@ start() {
--make-pidfile \
--pidfile="${pidfile}" \
--background \
--startas /bin/bash -- -c "exec ${bundle_command} ${bundle_command_args} >> ${gitlab_ci_runner_logfile} 2>&1"
--exec /bin/bash -- -c "exec ${bundle_command} ${bundle_command_args} >> ${gitlab_ci_runner_logfile} 2>&1"
local success=$?
if [ ${success}!=0 ] ; then
eend ${success}