ipratico

Results 2 issues of ipratico

pm2 v4.5.6 node.js v14.16.1 I'm trying to disable cron-restart using this command (as mentioned here: https://pm2.keymetrics.io/docs/usage/restart-strategies/) but is not working ``` pm2 restart app --cron-restart 0 ``` I got this...

Hello, I'm using a graceful shutdown to close my express server: ```javascript process.on('SIGINT', function(){ server.close(function(err) { process.exit(err ? 1 : 0); }); }); ``` `server.close()` stops the server from accepting...