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