0.0.10 • Published 3 years ago

wpm2 v0.0.10

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

wpm2

An opinionated Node.js process manager inspired by PM2.

All processes:

  • Are spawned in Cluster mode
  • Log to stdout/stderr (preferrably structured in JSON)
  • Are automatically restarted with exponential backoff

Things it doesn't (currently) do

  • Provide any functions other than wpm2 start
  • Use separate log streams or log files for the worker processes
  • Phone home to https://version.pm2.io/

Usage

wpm2 start app.json

Example JSON configuration

{
  "apps" : [{
    "name": "http",
    "script": "./http.js",
    "instances": 3,
    "max_memory_restart": "128M",
    "node_args": ["--nouse-idle-notification"],
    "env": {
      "NODE_ENV": "production"
    },
    "args": []
  }]
}
0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago