明树Git Lab

Commit 54dcc4c4 authored by zfp1's avatar zfp1

update

parent a573045e
...@@ -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: "PAWechat",
script: 'server.js', script: 'server.js',
watch: true, watch: true,
ignore_watch: ['node_modules', 'logs'], ignore_watch: ['node_modules', 'logs'],
...@@ -15,8 +15,6 @@ module.exports = { ...@@ -15,8 +15,6 @@ module.exports = {
NODE_ENV: "production", NODE_ENV: "production",
PORT:3001 PORT:3001
}, },
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`,
error_file: `/srv/letian/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