摘要: 以下是pm2常用的命令行$ pm2 start app.js # 启动app.js应用程序$ pm2 start app.js -i 4 # cluster mode 模式启动4个app.js的应用实例 # 4个应用程序会自动进行负载均衡$ pm2 start app.js --name="api" 阅读全文
posted @ 2019-06-12 09:05 Pikaqu 阅读(4394) 评论(0) 推荐(0) 编辑