supervisord.conf 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. [supervisord]
  2. childlogdir = /open-falcon/logs/
  3. logfile = /open-falcon/logs/supervisord.log
  4. pidfile = /var/run/supervisord.pid
  5. nodaemon = true
  6. directory = /open-falcon
  7. [unix_http_server]
  8. file = /var/run/supervisor.sock
  9. chmod = 0777
  10. chown= nobody:nogroup
  11. [rpcinterface:supervisor]
  12. supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
  13. [supervisorctl]
  14. serverurl = unix:///var/run/supervisor.sock
  15. [program:graph]
  16. user = root
  17. directory = /open-falcon/%(program_name)s
  18. command = /open-falcon/%(program_name)s/bin/falcon-%(program_name)s -c /open-falcon/%(program_name)s/config/cfg.json
  19. stdout_logfile = /open-falcon/logs/%(program_name)s.log
  20. stderr_logfile = /open-falcon/logs/%(program_name)s.err
  21. autostart=false
  22. [program:hbs]
  23. user = root
  24. directory = /open-falcon/%(program_name)s
  25. command = /open-falcon/%(program_name)s/bin/falcon-%(program_name)s -c /open-falcon/%(program_name)s/config/cfg.json
  26. stdout_logfile = /open-falcon/logs/%(program_name)s.log
  27. stderr_logfile = /open-falcon/logs/%(program_name)s.err
  28. autostart=false
  29. [program:judge]
  30. user = root
  31. directory = /open-falcon/%(program_name)s
  32. command = /open-falcon/%(program_name)s/bin/falcon-%(program_name)s -c /open-falcon/%(program_name)s/config/cfg.json
  33. stdout_logfile = /open-falcon/logs/%(program_name)s.log
  34. stderr_logfile = /open-falcon/logs/%(program_name)s.err
  35. autostart=false
  36. [program:transfer]
  37. user = root
  38. directory = /open-falcon/%(program_name)s
  39. command = /open-falcon/%(program_name)s/bin/falcon-%(program_name)s -c /open-falcon/%(program_name)s/config/cfg.json
  40. stdout_logfile = /open-falcon/logs/%(program_name)s.log
  41. stderr_logfile = /open-falcon/logs/%(program_name)s.err
  42. autostart=false
  43. [program:nodata]
  44. user = root
  45. directory = /open-falcon/%(program_name)s
  46. command = /open-falcon/%(program_name)s/bin/falcon-%(program_name)s -c /open-falcon/%(program_name)s/config/cfg.json
  47. stdout_logfile = /open-falcon/logs/%(program_name)s.log
  48. stderr_logfile = /open-falcon/logs/%(program_name)s.err
  49. autostart=false
  50. [program:aggregator]
  51. user = root
  52. directory = /open-falcon/%(program_name)s
  53. command = /open-falcon/%(program_name)s/bin/falcon-%(program_name)s -c /open-falcon/%(program_name)s/config/cfg.json
  54. stdout_logfile = /open-falcon/logs/%(program_name)s.log
  55. stderr_logfile = /open-falcon/logs/%(program_name)s.err
  56. autostart=false
  57. [program:agent]
  58. user = root
  59. directory = /open-falcon/%(program_name)s
  60. command = /open-falcon/%(program_name)s/bin/falcon-%(program_name)s -c /open-falcon/%(program_name)s/config/cfg.json
  61. stdout_logfile = /open-falcon/logs/%(program_name)s.log
  62. stderr_logfile = /open-falcon/logs/%(program_name)s.err
  63. autostart=false
  64. [program:gateway]
  65. user = root
  66. directory = /open-falcon/%(program_name)s
  67. command = /open-falcon/%(program_name)s/bin/falcon-%(program_name)s -c /open-falcon/%(program_name)s/config/cfg.json
  68. stdout_logfile = /open-falcon/logs/%(program_name)s.log
  69. stderr_logfile = /open-falcon/logs/%(program_name)s.err
  70. autostart=false
  71. [program:api]
  72. user = root
  73. directory = /open-falcon/%(program_name)s
  74. command = /open-falcon/%(program_name)s/bin/falcon-%(program_name)s -c /open-falcon/%(program_name)s/config/cfg.json
  75. stdout_logfile = /open-falcon/logs/%(program_name)s.log
  76. stderr_logfile = /open-falcon/logs/%(program_name)s.err
  77. autostart=false
  78. [program:alarm]
  79. user = root
  80. directory = /open-falcon/%(program_name)s
  81. command = /open-falcon/%(program_name)s/bin/falcon-%(program_name)s -c /open-falcon/%(program_name)s/config/cfg.json
  82. stdout_logfile = /open-falcon/logs/%(program_name)s.log
  83. stderr_logfile = /open-falcon/logs/%(program_name)s.err
  84. autostart=false