Merge pull request #195 from cubedro/develop

Added pm2 stop in update.sh
This commit is contained in:
Marian OANCΞA 2015-06-18 00:09:34 +03:00
commit c60dea2df5
1 changed files with 4 additions and 1 deletions

View File

@ -43,12 +43,15 @@ else
fi
fi
heading "Stopping processes"
pm2 stop all
heading "Flushing logs"
pm2 flush
rm -Rf ~/logs/*
rm -rf ~/.local/share/Trash/*
heading "Stopping processes"
heading "Stopping pm2"
pm2 kill
heading "Killing remaining node processes"