mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 09:52:30 -05:00
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
1.9 KiB
1.9 KiB