明树Git Lab

Commit decfd838 authored by zfp1's avatar zfp1

update

parent eb89120a
Pipeline #104272 passed with stage
in 3 seconds
...@@ -4,7 +4,7 @@ let curDateStr = curDate.getFullYear() + "" + String(curDate.getMonth() + 1).pa ...@@ -4,7 +4,7 @@ let curDateStr = curDate.getFullYear() + "" + String(curDate.getMonth() + 1).pa
module.exports = { module.exports = {
apps: [{ apps: [{
name: "letian", name: "gzbjt",
script: 'server.js', script: 'server.js',
watch: true, watch: true,
ignore_watch: ['node_modules', 'logs'], ignore_watch: ['node_modules', 'logs'],
...@@ -16,7 +16,7 @@ module.exports = { ...@@ -16,7 +16,7 @@ module.exports = {
PORT:3000 PORT:3000
}, },
log_date_format: "YYYY-MM-DD HH:mm:ss", log_date_format: "YYYY-MM-DD HH:mm:ss",
out_file: `/srv/letian/logs/${curDateStr}.log`, out_file: `/srv/gzbjt/logs/${curDateStr}.log`,
error_file: `/srv/letian/logs/${curDateStr}.log`, error_file: `/srv/gzbjt/logs/${curDateStr}.log`,
}] }]
}; };
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