Note: Replace yourdomain.com with you domainsudo supm2 install pm2-healthvim ~/.pm2/module_conf.json{“pm2-logrotate”: {“max_size”: “500M”,“retain”: “200”,“compress”: “true”,“dateFormat”: “YYYY-MM-DD_HH-mm-ss”,“workerInterval”: “30”,“rotateInterval”: “* * * * 30”,“rotateModule”: “true”},“module-db-v2”: {“pm2-logrotate”: {},“pm2-health”: {}},“pm2-health”: {“smtp”: {“host”: “mail.yourdomain.com“,“port”: 465,“user”: “notifications@yourdomain.com“,“password”: …
Tag: