-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprocesses.json
More file actions
64 lines (64 loc) · 1.81 KB
/
processes.json
File metadata and controls
64 lines (64 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"apps": [
{
"name": "api",
"cwd": "./",
"script": "server/api/index.js",
"log_date_format": "YYYY-MM-DD HH:mm Z",
"error_file": "pm2/log/node-app.stderr.log",
"out_file": "pm2/log/node-app.stdout.log",
"pid_file": "pm2/pids/node-geo-api.pid",
"instances": 3,
"min_uptime": "200s",
"max_restarts": 10,
"max_memory_restart": "1M",
"cron_restart": "1 0 * * *",
"watch": false,
"merge_logs": true,
"exec_interpreter": "node",
"exec_mode": "cluster",
"autorestart": true,
"vizion": false
},
{
"name": "server",
"cwd": "./",
"script": "server/index.js",
"log_date_format": "YYYY-MM-DD HH:mm Z",
"error_file": "pm2/log/node-app.stderr.log",
"out_file": "pm2/log/node-app.stdout.log",
"pid_file": "pm2/pids/node-geo-api.pid",
"instances": 3,
"min_uptime": "200s",
"max_restarts": 10,
"max_memory_restart": "1M",
"cron_restart": "1 0 * * *",
"watch": false,
"merge_logs": true,
"exec_interpreter": "node",
"exec_mode": "cluster",
"autorestart": true,
"vizion": false
},
{
"name": "crawler",
"cwd": "./",
"script": "server/crawler/index.js",
"log_date_format": "YYYY-MM-DD HH:mm Z",
"error_file": "pm2/log/node-app.stderr.log",
"out_file": "pm2/log/node-app.stdout.log",
"pid_file": "pm2/pids/node-geo-api.pid",
"instances": 1,
"min_uptime": "200s",
"max_restarts": 10,
"max_memory_restart": "1M",
"cron_restart": "1 0 * * *",
"watch": false,
"merge_logs": true,
"exec_interpreter": "node",
"exec_mode": "fork",
"autorestart": true,
"vizion": false
}
]
}