Merge pull request #138 from cubedro/develop

Added node pid kill to update.sh
This commit is contained in:
Marian OANCΞA 2015-05-19 00:54:17 +03:00
commit 7896064f97
1 changed files with 4 additions and 0 deletions

View File

@ -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