Node forever 20131222

1,200 views

Published on

  • Be the first to comment

Node forever 20131222

  1. 1. Forever Caesar Chi clonncd@fb, twitter Saturday, April 19, 14
  2. 2. npm install -g forever Saturday, April 19, 14
  3. 3. Saturday, April 19, 14
  4. 4. forever start xxx.js Saturday, April 19, 14
  5. 5. Saturday, April 19, 14
  6. 6. forever list Saturday, April 19, 14
  7. 7. Saturday, April 19, 14
  8. 8. forever stop 0 (pid) Saturday, April 19, 14
  9. 9. forever restart 0 (pid) Saturday, April 19, 14
  10. 10. tail -f FILE_PATH Saturday, April 19, 14
  11. 11. Saturday, April 19, 14
  12. 12. forever node.js Saturday, April 19, 14
  13. 13. Reference • https://blog.nodejitsu.com/keep-a-nodejs- server-up-with-forever/ • https://github.com/nodejitsu/forever Saturday, April 19, 14

×