- 通过API调用pm2操作,可以远程管理进程
- 其他module已过时不再更新
- url: /
- method: GET
- response(json): [ProcessObjects]
- url: /
- method: POST
- request json:
- process: script path (relative) or object via options
- response: 200 OK or 500
- url: /stop
- method: PUT
- request json:
- process: target process ID or Name
- response: 200 OK or 500
- url: /restart
- method: PUT
- request json:
- process: target process ID or Name
- response: 200 OK or 500