A simple CLI tool for ensuring that a given node script runs continuously (i.e. forever)
npm install forever


A simple CLI tool for ensuring that a given script runs continuously (i.e. forever).
Note that this project currently fully depends on the community for implementing fixes and new features. For new installations we encourage you to use pm2 or nodemon
`` bash`
$ [sudo] npm install forever -g
Note: If you are using forever _programmatically_ you should install [forever-monitor][0].
` bash`
$ cd /path/to/your/project
$ [sudo] npm install forever-monitor
Example
``
forever start app.js
Options
`
$ forever --help
usage: forever [action] [options] SCRIPT [script-options]
Monitors the script specified in the current process or as a daemon
actions:
start Start SCRIPT as a daemon
stop Stop the daemon SCRIPT by Id|Uid|Pid|Index|Script
stopall Stop all running forever scripts
restart Restart the daemon SCRIPT
restartall Restart all running forever scripts
list List all running forever scripts
config Lists all forever user configuration
set
clear
logs Lists log files for all forever processes
logs