pm2启动脚本增加cwd
This commit is contained in:
parent
d0708364ff
commit
8692f31512
@ -10,6 +10,7 @@ module.exports = {
|
||||
error_file : '/data/logs/card_svr/error/proxy_error.log', // error日志路径
|
||||
out_file : '/data/logs/card_svr/out/proxy_info.log', // out日志路径
|
||||
log_date_format: "YYYY-MM-DD HH:mm:ss",
|
||||
cwd : '/data/apps/card_svr',
|
||||
env: {
|
||||
PORT: 2567,
|
||||
}
|
||||
@ -24,6 +25,7 @@ module.exports = {
|
||||
error_file : '/data/logs/card_svr/error/card_svr_error.log', // error日志路径
|
||||
out_file : '/data/logs/card_svr/out/card_svr_info.log', // out日志路径,
|
||||
log_date_format: "YYYY-MM-DD HH:mm:ss",
|
||||
cwd : '/data/apps/card_svr',
|
||||
env: {
|
||||
PORT: 4000,
|
||||
// DEBUG: "colyseus:errors,colyseus:matchmaking,jc:*",
|
||||
@ -40,6 +42,7 @@ module.exports = {
|
||||
error_file : '/data/logs/card_svr/error/robot_error.log', // error日志路径
|
||||
out_file : '/data/logs/card_svr/out/robot_info.log', // out日志路径
|
||||
log_date_format: "YYYY-MM-DD HH:mm:ss",
|
||||
cwd : '/data/apps/card_svr',
|
||||
env: {
|
||||
PORT: 2500,
|
||||
DEBUG: "colyseus:errors,jc:*",
|
||||
|
Loading…
x
Reference in New Issue
Block a user