diff options
author | francis <francis> | 2008-11-17 13:25:54 +0000 |
---|---|---|
committer | francis <francis> | 2008-11-17 13:25:54 +0000 |
commit | d56a7d1a848fe03c85cee384145290236bb75d28 (patch) | |
tree | 0d5aa0d80e6718c4dc515dc8d65a2e1380b98b8f | |
parent | 5cbb597accaee70a1e31398638cd7ba0cce7d72f (diff) |
Tweak command parameters.
-rw-r--r-- | config/foimongreld.ugly | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/foimongreld.ugly b/config/foimongreld.ugly index 82d993527..68c16dff4 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 stop --port=$PORT --pid=$PIDFILE" + su $DUSER -c "cd $RUNDIR; /usr/bin/ruby -I/usr/lib/ruby/ /usr/bin/mongrel_rails stop -d -p $PORT -P $PIDFILE" 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 start -d --port=$PORT --pid=$PIDFILE" + su $DUSER -c "cd $RUNDIR; /usr/bin/ruby -I/usr/lib/ruby/ /usr/bin/mongrel_rails start -d -p $PORT -P $PIDFILE" fi } |