phamleduy04 / texas-dps-scheduler

Texas DPS/DMV Automatic Scheduler
MIT License
264 stars 117 forks source link

use pm2 to monitor app crashes #134

Open joshir opened 1 month ago

joshir commented 1 month ago

I found it useful to run the app with pm2 to monitor and restart the app when it crashes. may be you can incorporate pm2?

phamleduy04 commented 1 month ago

you can run pm2 on your own pm2 start --stop-exit-codes 0 npm -- start. But it's a good idea to add pm2 to the script also.

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.