用户工具

站点工具


frontend:pm2

这是本文档旧的修订版!


PM2

Production process manager for Node.js apps with a built-in load balancer. http://pm2.io/

Usage

Start 2 instances of application in cluster mode:

pm2 start -i 2 --name [name] bin/www

Set pm2 start on boot:

pm2 startup

Save pm2 current process list:

pm2 save

Remove init script:

pm2 unstartup [systemv|systemd]
frontend/pm2.1498471838.txt.gz · 最后更改: 2023/12/03 10:24 (外部编辑)