aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscript/restart-mongrel1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/restart-mongrel b/script/restart-mongrel
index 300df12b9..e88ba1112 100755
--- a/script/restart-mongrel
+++ b/script/restart-mongrel
@@ -10,6 +10,7 @@ then
ruby -I/usr/lib/ruby/ /usr/bin/mongrel_rails stop
sleep 5s
if [ -e log/mongrel.pid ]
+ then
if ( ps h -p `cat log/mongrel.pid` )
then
echo "kill -9 ing `cat log/mongrel.pid` because it failed to stop"