tldr/pages/common/forever.md

17 lines
436 B
Markdown
Raw Normal View History

2018-02-15 04:14:11 +00:00
# forever
> Server-side JavaScript application that makes sure Node.js applications run indefinitely (restarts after exit).
2019-06-07 11:58:15 +01:00
> More information: <https://github.com/foreversd/forever>.
2018-02-15 04:14:11 +00:00
- Start running a file forever (as a daemon):
`forever {{script}}`
- List running "forever" processes (along with IDs and other details of "forever" processes):
`forever list`
- Stop a running "forever" process:
`forever stop {{ID|pid|script}}`