pm2日志存放位置
This commit is contained in:
@@ -62,7 +62,7 @@ pm2Master.args.push('port='+masterConfig.port);
|
||||
pm2Master.args.push('env='+envType);
|
||||
pm2Master.args.push('mode=stand-alone');
|
||||
pm2Master.cwd= cwd;
|
||||
if(envType == 'sq1') {
|
||||
if(envType.startsWith('sq')) {
|
||||
pm2Master.out_file = '/zyz_logs/pm2/'+masterConfig.id+"_app.log";
|
||||
pm2Master.error_file='/zyz_logs/pm2/'+masterConfig.id+'_error.log';
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user