blob: e639cffd2af442ec98af696d0fed609167dacc4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
module.exports = {
apps: [
{
name: 'evcp',
script: 'npm',
args: 'run start',
cwd: './',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '8G',
env: {
NODE_ENV: 'production',
NODE_OPTIONS: '--openssl-legacy-provider'
},
error_file: './logs/pm2-error.log',
out_file: './logs/pm2-out.log',
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
merge_logs: true,
time: true
}
]
};
|