aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/foimongreld.ugly4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/foimongreld.ugly b/config/foimongreld.ugly
index beda47c08..b1a4cc7d5 100644
--- a/config/foimongreld.ugly
+++ b/config/foimongreld.ugly
@@ -22,7 +22,7 @@ function stop_mongrel {
if [ -e $PIDFILE ]
then
- su $DUSER -c "cd $RUNDIR; /usr/bin/ruby -I/usr/lib/ruby/ /usr/bin/mongrel_rails --port=$PORT stop"
+ su $DUSER -c "cd $RUNDIR; /usr/bin/ruby -I/usr/lib/ruby/ /usr/bin/mongrel_rails stop --port=$PORT"
sleep 5s
if [ -e $PIDFILE ]
then
@@ -51,7 +51,7 @@ function start_mongrel {
echo " pidfile already exists, stop first "
return 1
else
- su $DUSER -c "cd $RUNDIR; /usr/bin/ruby -I/usr/lib/ruby/ /usr/bin/mongrel_rails --port=$PORT start -d"
+ su $DUSER -c "cd $RUNDIR; /usr/bin/ruby -I/usr/lib/ruby/ /usr/bin/mongrel_rails start -d --port=$PORT"
fi
}