added node pid kill to update.sh

This commit is contained in:
cubedro 2015-05-19 00:39:05 +03:00
parent deeea3b890
commit e70eab9115
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