1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
| { "apps": [ { "name": "server1", "script": "./www/server.js", "log_date_format": "YYYY-MM-DD HH:mm:ss", "error_file": "logs/node-server1.stderr.log", "out_file": "logs/node-server1.stdout.log", "pid_file": "pids/node-server1.pid", "instances": 1, "min_uptime": "120s", "max_restarts": 10, "max_memory_restart": "100M", "cron_restart": "1 0 * * *", "watch": false, "merge_logs": true, "exec_interpreter": "node", "exec_mode": "fork", "autorestart": true, "vizion": false }, { "name": "server2", "script": "./www/my.js", "log_date_format": "YYYY-MM-DD HH:mm:ss", "error_file": "logs/node-server2.stderr.log", "out_file": "logs/node-server2.stdout.log", "pid_file": "pids/node-server2.pid", "instances": 2, "min_uptime": "120s", "max_restarts": 10, "max_memory_restart": "100M", "cron_restart": "1 0 * * *", "watch": false, "merge_logs": true, "exec_interpreter": "node", "exec_mode": "cluster", "autorestart": true, "vizion": false } ] }
|