Deploying node. js with Forever and PM2

Source: Internet
Author: User
Foreverforever can keep the project running when cmd or SSH is disconnected, and can be restarted automatically when the project crashes? Install the NPM install-g forever?forever help manual Forever--help? Use forever to start a project forever start app.js? Use forever to stop the project forever stop app.js? List all projects forever managed by Forever list? Monitoring files in the project, Restart Project when file changes forever-w start App.js II, pm2? Install PM2 npm install-g pm2? Run PM2 start app.js? View the running Status PM2 list? Tracking resource Operation Pm2 Monit? view Log pm2 logs? Restart app pm2 restart AppId? Stop app Pm2 stop app.js? Turn on API Access PM2 Web

  

Deploying node. js with Forever and PM2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.