Merge pull request #135 from cubedro/develop

Added logs flushing before update
This commit is contained in:
Marian OANCΞA 2015-05-14 20:21:19 +03:00
commit 22a837537c

View File

@ -43,6 +43,10 @@ else
fi
fi
heading "Flushing logs"
pm2 flush
rm -Rf ~/logs/*
heading "Stopping processes"
pm2 kill