Could you add a flag --interval-on-error which pauses xx seconds before restarting the app (if it dies with a non-zero exit code). Right now, it just keeps immediately restarting the app on error which can hammer the system.
Could you add a flag --interval-on-error which pauses xx seconds before restarting the app (if it dies with a non-zero exit code).
Right now, it just keeps immediately restarting the app on error which can hammer the system.