global로 설치 후 $ forever start server.js
로 서버를 실행하면 백그라운드로 서버가 실행된다. 그리고 예기치 못한 오류로 서버가 꺼져도 알아서 재실행한다.
usage: forever [start | stop | stopall | list | cleanlogs] [options] SCRIPT [script options] options: start start SCRIPT as a daemon stop stop the daemon SCRIPT stopall stop all running forever scripts list list all running forever scripts cleanlogs [CAREFUL] Deletes all historical forever log files