Monday, 17 April 2017

PM2 don't restart on clean exit

PM2 has an option to restart an app on error or clean exit. Unfortunately, even clean zero-code exit increases max_restarts counter. Is there a way to increase max_restarts counter only on error or crash (non-zero code exit)?



via Kertis van Kertis

No comments:

Post a Comment