-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathecosystem.json
37 lines (37 loc) · 1.07 KB
/
ecosystem.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
{
"apps" : [{
// Application #1
"name" : "proxer",
"script" : "app.js",
"args" : ["--debug"],
"watch" : false,
//"node_args" : "",
//"merge_logs" : true,
//"exec_mode" : "cluster_mode",
//"instances" : 1,
"log_date_format" : "YYYY-MM-DD HH:mm:ss",
"error_file" : "/home/user/proxer/logs/proxer-err.log",
"out_file" : "/home/user/proxer/logs/proxer-out.log",
"pid_file" : "/home/user/proxer/var/proxer.pid",
"cwd" : "/home/user/proxer/",
"env": {
"NODE_ENV": "production"
},
"env_production" : {
"NODE_ENV": "production"
},
"env_development" : {
"NODE_ENV" : "development"
}
},{
// Application #2
"name" : "sniffer",
"script" : "sniffer.js",
//"instances" : 1,
//"exec_mode" : "cluster_mode",
"log_date_format" : "YYYY-MM-DD HH:mm:ss",
"error_file" : "/home/user/proxer/logs/sniffer-err.log",
"out_file" : "/home/user/proxer/logs/sniffer-out.log",
"pid_file" : "/home/user/proxer/var/sniffer.pid"
}]
}