You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
823 B
26 lines
823 B
4 years ago
|
module.exports = {
|
||
|
"apps": [
|
||
|
{
|
||
|
"name" : "server",
|
||
|
"autorestart" : true,
|
||
|
"watch" : true,
|
||
|
"cwd" : "/data/appl/ok/swarmlab-hybrid-agent/src-local",
|
||
|
"script" : "./llo/new.js",
|
||
|
"run_as_user" : "node",
|
||
|
"args" : "start",
|
||
|
"pid_file" : "/data/appl/ok/swarmlab-hybrid-agent/src-local/pid.pid",
|
||
|
"log_type" : "json",
|
||
|
"log_file" : "/data/appl/ok/swarmlab-hybrid-agent/src-local/logs/logfile",
|
||
|
"error_file" : "/data/appl/ok/swarmlab-hybrid-agent/src-local/logs/errorfile",
|
||
|
"out_file" : "/data/appl/ok/swarmlab-hybrid-agent/src-local/logs/outfile",
|
||
|
"log_date_format": "YYYY-MM-DD HH:mm Z",
|
||
|
"merge_logs" : true,
|
||
|
"exec_mode" : "fork",
|
||
|
"max_restarts": 10,
|
||
|
"max_memory_restart": "500M",
|
||
|
"restart_delay": 1000
|
||
|
},
|
||
|
]
|
||
|
}
|
||
|
|