{
"apps": [
{
"name": "console.orion",
"interpreter": "../node_modules/.bin/ts-node",
"interpreter_args": "-P ../ -r tsconfig-paths/register",
"script": "../app.ts",
"exec_mode": "cluster",
"instances": 1,
"max_memory_restart": "1G",
"autorestart": true,
"autoput": "/dev/null",
"merge_logs": true,
"log_date_format": "YYYY-MM-DD HH:mm Z",
"source_map_support": false,
"error_file": "/export/Logs/orion-console/err.log",
"out_file": "/export/Logs/orion-console/out.log",
"node_args": [],
"env": {
"NODE_ENV": "production"
}
}
]
}
1.文件结构如下图