Bug #476 ยป foreman.patch
/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
|