Project

General

Profile

Bug #476 ยป foreman.patch

Henning Henkel, 11/19/2010 03:54 AM

View differences:

/etc/rc.d/init.d/foreman 2010-11-19 09:45:32.000000000 +0100
start() {
echo -n $"Starting $prog: "
daemon --user ${FOREMAN_USER} /usr/bin/ruby ${FOREMAN_HOME}/script/server -p ${FOREMAN_PORT} -e ${FOREMAN_ENV} -d > /dev/null
daemon --user ${FOREMAN_USER} cd ${FOREMAN_HOME} && /usr/bin/ruby ${FOREMAN_HOME}/script/server -p ${FOREMAN_PORT} -e ${FOREMAN_ENV} -d > /dev/null
RETVAL=$?
if [ $RETVAL = 0 ]
then
    (1-1/1)