pm2createlink.json 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "apps": [
  3. {
  4. "name": "hy_create_link_factory",
  5. "script": "./5_CREATE_LINK_FACTORY/hy_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_factory",
  10. "log_date_format": "YYYY-MM-DD HH:mm:ss",
  11. "error_file": "./logs/create_link/hy_create_link_factory_error.log",
  12. "out_file": "./logs/create_link/hy_create_link_factory_out.log",
  13. "merge_logs": true,
  14. "exec_mode": "fork",
  15. "autorestart": true
  16. },
  17. {
  18. "name": "fq_create_link_factory",
  19. "script": "./5_CREATE_LINK_FACTORY/fq_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_factory",
  24. "log_date_format": "YYYY-MM-DD HH:mm:ss",
  25. "error_file": "./logs/create_link/fq_create_link_factory_error.log",
  26. "out_file": "./logs/create_link/fq_create_link_factory_out.log",
  27. "merge_logs": true,
  28. "exec_mode": "fork",
  29. "autorestart": true
  30. },
  31. {
  32. "name": "dz_create_link_factory",
  33. "script": "./5_CREATE_LINK_FACTORY/dz_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_factory",
  38. "log_date_format": "YYYY-MM-DD HH:mm:ss",
  39. "error_file": "./logs/create_link/dz_create_link_factory_error.log",
  40. "out_file": "./logs/create_link/dz_create_link_factory_out.log",
  41. "merge_logs": true,
  42. "exec_mode": "fork",
  43. "autorestart": true
  44. },
  45. {
  46. "name": "qm_create_link_factory",
  47. "script": "./5_CREATE_LINK_FACTORY/qm_create_link_factory.js",
  48. "node_args": "--max-old-space-size=8192 --expose-gc",
  49. "max_memory_restart": "4G",
  50. "args": ["--type=data"],
  51. "cwd": "/home/tg_factory",
  52. "log_date_format": "YYYY-MM-DD HH:mm:ss",
  53. "error_file": "./logs/create_link/qm_create_link_factory_error.log",
  54. "out_file": "./logs/create_link/qm_create_link_factory_out.log",
  55. "merge_logs": true,
  56. "exec_mode": "fork",
  57. "autorestart": true
  58. },
  59. {
  60. "name": "fqmf_create_link_factory",
  61. "script": "./5_CREATE_LINK_FACTORY/fqmf_create_link_factory.js",
  62. "node_args": "--max-old-space-size=8192 --expose-gc",
  63. "max_memory_restart": "4G",
  64. "args": ["--type=data"],
  65. "cwd": "/home/tg_factory",
  66. "log_date_format": "YYYY-MM-DD HH:mm:ss",
  67. "error_file": "./logs/create_link/fqmf_create_link_factory_error.log",
  68. "out_file": "./logs/create_link/fqmf_create_link_factory_out.log",
  69. "merge_logs": true,
  70. "exec_mode": "fork",
  71. "autorestart": true
  72. }
  73. ]
  74. }