From e70eab91156d2997b3ef901a8991eff7a9c1da9f Mon Sep 17 00:00:00 2001 From: cubedro Date: Tue, 19 May 2015 00:39:05 +0300 Subject: [PATCH] added node pid kill to update.sh --- bin/update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/update.sh b/bin/update.sh index cd74615..5309237 100755 --- a/bin/update.sh +++ b/bin/update.sh @@ -50,6 +50,10 @@ rm -Rf ~/logs/* heading "Stopping processes" pm2 kill +heading "Killing remaining node processes" +echo `ps auxww | grep node | awk '{print $2}'` +kill -9 `ps auxww | grep node | awk '{print $2}'` + heading "Removing ethereum" sudo apt-get remove -y $ethtype