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.
20 lines
571 B
20 lines
571 B
module.exports = {
|
|
"apps": [{
|
|
"name" : "playground-nodejs",
|
|
"autorestart" : true,
|
|
"watch" : true,
|
|
"script" : "npm",
|
|
"args" : "serve",
|
|
"pid_file" : "/home/node/pid.pid",
|
|
"log_type" : "json",
|
|
"log_file" : "/home/node/logfile",
|
|
"error_file" : "/home/node/errorfile",
|
|
"out_file" : "/home/node/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
|
|
}]
|
|
}
|
|
|