mpc-cli
Version:
码农村nodejs版本myprocesscontroller框架脚手架搭建器
24 lines • 732 B
JSON
{
"apps": [{
// Application #1
"name": "dealer",
"script": "./bin/deal_single.js",
"instances": "max",
"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_dealer_err.log",
"out_file": "./log/MPC_dealer_out.log",
"env": {
"NODE_ENV": "development",
"AWESOME_SERVICE_API_TOKEN": "xxx"
},
"watch": ["./**/*.js"],
"ignore_watch": [],
"watch_options": { "followSymlinks": false }
}]
}