diff options
author | francis <francis> | 2008-11-17 13:10:44 +0000 |
---|---|---|
committer | francis <francis> | 2008-11-17 13:10:44 +0000 |
commit | 3268a231c6b7c83db02f1c6d1f2d0b5de3b89957 (patch) | |
tree | c88d80f1ddc2f57575cb49b23be58cb8775b8dc5 | |
parent | 19229065e3047672d65fb82c80e461a6753435cb (diff) |
Right order
-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 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 } |