owhat-job
Version:
owhat红包清理
68 lines • 2.47 kB
JSON
{
"apps": [{
// Application #1
"name": "law-static",
"script": "./bin/deal_static.js",
"instances": "1",
"exec_mode": "cluster",
"args": ["mpc.npcf,env.npcf"],
"node_args": "--harmony --max-old-space-size=4096",
"merge_logs": true,
"cwd": "./",
"max_memory_restart": "4096M",
"log_date_format": "YYYYMMDDHH",
"error_file": "./log/MPC_static_err.log",
"out_file": "./log/MPC_static_out.log",
"env": {
"NODE_ENV": "development",
"AWESOME_SERVICE_API_TOKEN": "xxx"
},
"watch": ["./bin/*.js", "./bin/Ni/*.npcf"],
"ignore_watch": [],
"watch_options": { "followSymlinks": false }
},
{
// Application #1
"name": "law-job",
"script": "./bin/deal_jobs.js",
"instances": "1",
"exec_mode": "cluster",
"args": ["mpc.npcf,env.npcf"],
"node_args": "--harmony --max-old-space-size=4096",
"merge_logs": true,
"cwd": "./",
"max_memory_restart": "4096M",
"log_date_format": "YYYYMMDDHH",
"error_file": "./log/MPC_job_err.log",
"out_file": "./log/MPC_job_out.log",
"env": {
"NODE_ENV": "development",
"AWESOME_SERVICE_API_TOKEN": "xxx"
},
"watch": ["./bin/*.js", "./bin/Ni/*.npcf"],
"ignore_watch": [],
"watch_options": { "followSymlinks": false }
}, {
// Application #1
"name": "law-file",
"script": "./bin/deal_file.js",
"instances": "1",
"exec_mode": "cluster",
"args": ["mpc.npcf,env.npcf"],
"node_args": "--harmony --max-old-space-size=4096",
"merge_logs": true,
"cwd": "./",
"max_memory_restart": "4096M",
"log_date_format": "YYYYMMDDHH",
"error_file": "./log/MPC_job_err.log",
"out_file": "./log/MPC_job_out.log",
"env": {
"NODE_ENV": "development",
"AWESOME_SERVICE_API_TOKEN": "xxx"
},
"watch": ["./bin/*.js", "./bin/Ni/*.npcf"],
"ignore_watch": [],
"watch_options": { "followSymlinks": false }
}
]
}