aboutsummaryrefslogtreecommitdiffstats
path: root/script/restart-mongrel
diff options
context:
space:
mode:
authorfrancis <francis>2008-04-11 16:10:12 +0000
committerfrancis <francis>2008-04-11 16:10:12 +0000
commitda2467cbdb75ed8d46f2f1aca6deb5b000f51618 (patch)
tree198742bee3ef1b0cdd54ecf33f3924142874abc9 /script/restart-mongrel
parent3770a50e7291be2c9c155d0eee2c58ce2249c3c8 (diff)
Debug page.
Diffstat (limited to 'script/restart-mongrel')
-rwxr-xr-xscript/restart-mongrel4
1 files changed, 3 insertions, 1 deletions
diff --git a/script/restart-mongrel b/script/restart-mongrel
index 6fd47d32b..691baff9e 100755
--- a/script/restart-mongrel
+++ b/script/restart-mongrel
@@ -7,7 +7,9 @@ cd ..
# XXX Include path for dodgy version of daemonize package
if [ -e log/mongrel.pid ]
then
- ruby -I/usr/lib/ruby/ /usr/bin/mongrel_rails restart
+ ruby -I/usr/lib/ruby/ /usr/bin/mongrel_rails stop
+ sleep 1s
+ ruby -I/usr/lib/ruby/ /usr/bin/mongrel_rails start -d
else
ruby -I/usr/lib/ruby/ /usr/bin/mongrel_rails start -d
fi