mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-08 05:57:26 +00:00
Update cheatsheets
This commit is contained in:
21
forever
Normal file
21
forever
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# forever
|
||||
|
||||
> Server-side JavaScript application that makes sure Node.js applications run indefinitely (restarts after exit).
|
||||
> More information: <https://github.com/foreversd/forever>.
|
||||
|
||||
- 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}}`
|
||||
Reference in New Issue
Block a user