added logs flushing before update
This commit is contained in:
parent
6455b6e4f0
commit
87916a3307
@ -43,6 +43,10 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
heading "Flushing logs"
|
||||
pm2 flush
|
||||
rm -Rf ~/logs/*
|
||||
|
||||
heading "Stopping processes"
|
||||
pm2 kill
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user