added logs flushing before update

This commit is contained in:
cubedro 2015-05-14 20:20:59 +03:00
parent 6455b6e4f0
commit 87916a3307

View File

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