-
Notifications
You must be signed in to change notification settings - Fork 13
/
pm2-ws.json
52 lines (52 loc) · 1.2 KB
/
pm2-ws.json
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
{"apps":[{
"name":"herald-webservice-1",
"script":"./app.js",
"watch":false,
"args":" --mode=production --port=3000",
"instances":1,
"out_file":"/tmp/ws-1.log",
"autorestart":true,
"max_restarts":50,
"restart_delay":10000,
"combine_logs":true,
"exec_mode":"fork"
},
{
"name":"herald-webservice-2",
"script":"./app.js",
"watch":false,
"args":" --mode=production --port=3001",
"instances":1,
"out_file":"/tmp/ws-2.log",
"autorestart":true,
"max_restarts":50,
"restart_delay":10000,
"combine_logs":true,
"exec_mode":"fork"
},
{
"name":"herald-webservice-3",
"script":"./app.js",
"watch":false,
"args":" --mode=production --port=3002",
"instances":1,
"out_file":"/tmp/ws-3.log",
"autorestart":true,
"max_restarts":50,
"restart_delay":10000,
"combine_logs":true,
"exec_mode":"fork"
},
{
"name":"herald-webservice-4",
"script":"./app.js",
"watch":false,
"args":" --mode=production --port=3003",
"instances":1,
"out_file":"/tmp/ws-4.log",
"autorestart":true,
"max_restarts":50,
"restart_delay":10000,
"combine_logs":true,
"exec_mode":"fork"
}]}