mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2026-04-30 14:26:20 -04:00
d5fbc0b01c
There's apparently no way to specify exit codes for which the process should not be restarted. This just shows how poor of a process manager PM2 is so we really should not continue to recommend it in the documentation... Ref: https://stackoverflow.com/questions/43614017/how-to-only-restart-node-process-with-pm2-if-exit-code-0