can't kill processes in other contexts.
authorFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Tue, 22 Jan 2008 20:59:58 +0000 (20:59 +0000)
committerFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Tue, 22 Jan 2008 20:59:58 +0000 (20:59 +0000)
nm.init

diff --git a/nm.init b/nm.init
index 4ae386d..eda0f11 100755 (executable)
--- a/nm.init
+++ b/nm.init
@@ -43,10 +43,6 @@ stop()
     RETVAL=$?
     echo
     [ $RETVAL -eq 0 ] && rm -f ${lockfile} ${pidfile}
-    for i in $( vps aux | grep nm.py | awk '{print $2}' ); do
-        kill -9 $i
-    done
-
 }
 
 restart()