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

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"