Commit 45e84b94 by MichaelJier

private

1. pm2 --scripts-prepend-node-path
parent ae224dd9
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
"pm2:cm": "pm2 start pm2.json --only live-cm", "pm2:cm": "pm2 start pm2.json --only live-cm",
"pm2:vvku": "pm2 start pm2.json --only live-vvku", "pm2:vvku": "pm2 start pm2.json --only live-vvku",
"pm2:cbn": "pm2 start pm2.json --only live-cbn", "pm2:cbn": "pm2 start pm2.json --only live-cbn",
"pm2:huawei": "pm2 start pm2.json --only live-huawei --scripts-prepend-node-path", "pm2:huawei": "pm2 start pm2.json --only live-huawei",
"pm2:pre": "pm2 start pm2.json --only live-pre", "pm2:pre": "pm2 start pm2.json --only live-pre",
"pm2:test": "pm2 start pm2.json --only live-test", "pm2:test": "pm2 start pm2.json --only live-test",
"generate": "nuxt generate", "generate": "nuxt generate",
......
...@@ -78,11 +78,11 @@ ...@@ -78,11 +78,11 @@
{ {
"name": "live-huawei", "name": "live-huawei",
"script": "npm", "script": "npm",
"args": "run start:huawei", "args": "run start:huawei --scripts-prepend-node-path",
"instances": "max", "instances": 8,
"exec_mode": "cluster", "exec_mode": "cluster",
"autorestart": true, "autorestart": true,
"max_memory_restart": "8G", "max_memory_restart": "16G",
"env": { "env": {
"port": 33000, "port": 33000,
"NODE_ENV": "production" "NODE_ENV": "production"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment