Merge pull request #135 from cubedro/develop
Added logs flushing before update
This commit is contained in:
commit
22a837537c
@ -43,6 +43,10 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
heading "Flushing logs"
|
||||||
|
pm2 flush
|
||||||
|
rm -Rf ~/logs/*
|
||||||
|
|
||||||
heading "Stopping processes"
|
heading "Stopping processes"
|
||||||
pm2 kill
|
pm2 kill
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user