pm2createlink.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "apps": [
  3. {
  4. "name": "jd_fq_create_link_factory",
  5. "script": "./5_CREATE_LINK_FACTORY/fq_create_link_factory.js",
  6. "node_args": "--max-old-space-size=8192 --expose-gc",
  7. "max_memory_restart": "4G",
  8. "args": ["--type=data"],
  9. "cwd": "/home/tg_dj_factory_new",
  10. "log_date_format": "YYYY-MM-DD HH:mm:ss",
  11. "error_file": "./logs/create_link/fq_create_link_factory_error.log",
  12. "out_file": "./logs/create_link/fq_create_link_factory_out.log",
  13. "merge_logs": true,
  14. "exec_mode": "fork",
  15. "autorestart": true
  16. },
  17. {
  18. "name": "dz_create_link_factory",
  19. "script": "./5_CREATE_LINK_FACTORY/dz_create_link_factory.js",
  20. "node_args": "--max-old-space-size=8192 --expose-gc",
  21. "max_memory_restart": "4G",
  22. "args": ["--type=data"],
  23. "cwd": "/home/tg_dj_factory_new",
  24. "log_date_format": "YYYY-MM-DD HH:mm:ss",
  25. "error_file": "./logs/create_link/dz_create_link_factory_error.log",
  26. "out_file": "./logs/create_link/dz_create_link_factory_out.log",
  27. "merge_logs": true,
  28. "exec_mode": "fork",
  29. "autorestart": true
  30. },
  31. {
  32. "name": "zy_create_link_factory",
  33. "script": "./5_CREATE_LINK_FACTORY/zy_create_link_factory.js",
  34. "node_args": "--max-old-space-size=8192 --expose-gc",
  35. "max_memory_restart": "4G",
  36. "args": ["--type=data"],
  37. "cwd": "/home/tg_dj_factory_new",
  38. "log_date_format": "YYYY-MM-DD HH:mm:ss",
  39. "error_file": "./logs/create_link/zy_create_link_factory_error.log",
  40. "out_file": "./logs/create_link/zy_create_link_factory_out.log",
  41. "merge_logs": true,
  42. "exec_mode": "fork",
  43. "autorestart": true
  44. }
  45. ]
  46. }