processes.json 438 B

1234567891011121314151617
  1. {
  2. "apps": [
  3. {
  4. "name": "gifmaker", //名称
  5. "script": "./app.js", //程序入库
  6. "cwd": "./", //根目录
  7. "watch": false, //需要监控的目录
  8. "env": {
  9. "NODE_ENV": "production",
  10. "PORT": 9091
  11. },
  12. "error_file": "./logs/app-err.log", //错误输出日志
  13. "out_file": "./logs/app-out.log", //日志
  14. "log_date_format": "YYYY-MM-DD HH:mm Z" //日期格式
  15. }
  16. ]
  17. }