Commit 1cb903c0 authored by lvweichao's avatar lvweichao

update: start.sh

parent 9126fa81
......@@ -22,7 +22,7 @@ if [ X"$env" = X"prod" ];then
port=8055
pm2 start pm2.json
else
PORT=$port NODE_ENV=$env pm2 start app.js --name 'opwebservice' --watch
PORT=$port NODE_ENV=$env pm2 start app.js --name "opwebservice_${port}" --watch
fi
while true; do
......
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 to comment