phamleduy04 / texas-dps-scheduler

Texas DPS/DMV Automatic Scheduler
MIT License
283 stars 130 forks source link

use pm2 to monitor app crashes #134

Open ghost opened 4 months ago

ghost commented 4 months 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 4 months 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 3 months 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.