-
Notifications
You must be signed in to change notification settings - Fork 5
/
pm2.json
81 lines (81 loc) · 2.24 KB
/
pm2.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"apps": [{
"name": "lora-network-server",
"script": "./lora-network-server/bin/lora-network-server",
"cwd": process.env.PWD,
"exec_mode": "fork",
"exec_interpreter": "node",
"instances": 1,
"max_memory_restart": "500M",
"autorestart": true,
"min_uptime": "30s",
"node_args": "--max-old-space-size=65500",
"out_file": "../log/lora-network-server.log",
"error_file": "../log/lora-network-server/ERROR.log",
"combine_logs": true,
"env": {
"NODE_ENV": "development"
},
"env_production": {
"NODE_ENV": "production"
}
}, {
"name": "lora-network-connector",
"script": "./lora-network-connector/index.js",
"cwd": process.env.PWD,
"exec_mode": "fork",
"exec_interpreter": "node",
"instances": 1,
"autorestart": true,
"min_uptime": "30s",
"node_args": "--max-old-space-size=65500",
"out_file": "../log/lora-network-connector.log",
"error_file": "../log/lora-network-connector/ERROR.log",
"combine_logs": true,
"env": {
"NODE_ENV": "development"
},
"env_production": {
"NODE_ENV": "production"
}
}, {
"name": "lora-join-server",
"script": "./lora-join-server/index.js",
"cwd": process.env.PWD,
"exec_mode": "fork",
"exec_interpreter": "node",
"instances": 1,
"autorestart": true,
"min_uptime": "30s",
"node_args": "--max-old-space-size=65500",
"out_file": "../log/lora-join-server.log",
"error_file": "../log/lora-join-server/ERROR.log",
"combine_logs": true,
"env": {
"NODE_ENV": "development"
},
"env_production": {
"NODE_ENV": "production"
}
}, {
"name": "lora-network-controller",
"script": "./lora-network-controller/bin/lora-network-controller",
"cwd": process.env.PWD,
"exec_mode": "fork",
"exec_interpreter": "node",
"instances": 1,
"max_memory_restart": "500M",
"autorestart": true,
"min_uptime": "30s",
"node_args": "--max-old-space-size=65500",
"out_file": "../log/lora-network-controller.log",
"error_file": "../log/lora-network-controller/ERROR.log",
"combine_logs": true,
"env": {
"NODE_ENV": "development"
},
"env_production": {
"NODE_ENV": "production"
}
}]
}