1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 06:17:55 +01:00
tldr/pages/common/forever.md

16 lines
376 B
Markdown
Raw Normal View History

2018-02-15 05:14:11 +01:00
# forever
> Server-side JavaScript application that makes sure Node.js applications run indefinitely (restarts after exit).
- 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}}`