@@ -3,8 +3,8 @@ module.exports = {
|
||||
{
|
||||
name: "qihuo",
|
||||
script: "app.py",
|
||||
cwd: "/opt/qihuo",
|
||||
interpreter: "/opt/qihuo/venv/bin/python",
|
||||
cwd: "/root/qihuo",
|
||||
interpreter: "/root/qihuo/venv/bin/python",
|
||||
instances: 1,
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
@@ -12,8 +12,8 @@ module.exports = {
|
||||
env: {
|
||||
NODE_ENV: "production",
|
||||
},
|
||||
error_file: "/opt/qihuo/logs/pm2-error.log",
|
||||
out_file: "/opt/qihuo/logs/pm2-out.log",
|
||||
error_file: "/root/qihuo/logs/pm2-error.log",
|
||||
out_file: "/root/qihuo/logs/pm2-out.log",
|
||||
time: true,
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user