supervisor.ini 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. ; Licensed to the Apache Software Foundation (ASF) under one
  2. ; or more contributor license agreements. See the NOTICE file
  3. ; distributed with this work for additional information
  4. ; regarding copyright ownership. The ASF licenses this file
  5. ; to you under the Apache License, Version 2.0 (the
  6. ; "License"); you may not use this file except in compliance
  7. ; with the License. You may obtain a copy of the License at
  8. ;
  9. ; http://www.apache.org/licenses/LICENSE-2.0
  10. ;
  11. ; Unless required by applicable law or agreed to in writing, software
  12. ; distributed under the License is distributed on an "AS IS" BASIS,
  13. ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ; See the License for the specific language governing permissions and
  15. ; limitations under the License.
  16. ; program config file
  17. [program:master]
  18. command=%(ENV_DOLPHINSCHEDULER_BIN)s/dolphinscheduler-daemon.sh start master-server
  19. directory=%(ENV_DOLPHINSCHEDULER_HOME)s
  20. priority=999
  21. autostart=%(ENV_MASTER_START_ENABLED)s
  22. autorestart=true
  23. startsecs=10
  24. stopwaitsecs=3
  25. exitcodes=0
  26. stopasgroup=true
  27. killasgroup=true
  28. redirect_stderr=true
  29. stdout_logfile=/dev/fd/1
  30. stdout_logfile_maxbytes=0
  31. [program:worker]
  32. command=%(ENV_DOLPHINSCHEDULER_BIN)s/dolphinscheduler-daemon.sh start worker-server
  33. directory=%(ENV_DOLPHINSCHEDULER_HOME)s
  34. priority=999
  35. autostart=%(ENV_WORKER_START_ENABLED)s
  36. autorestart=true
  37. startsecs=10
  38. stopwaitsecs=3
  39. exitcodes=0
  40. stopasgroup=true
  41. killasgroup=true
  42. redirect_stderr=true
  43. stdout_logfile=/dev/fd/1
  44. stdout_logfile_maxbytes=0
  45. [program:api]
  46. command=%(ENV_DOLPHINSCHEDULER_BIN)s/dolphinscheduler-daemon.sh start api-server
  47. directory=%(ENV_DOLPHINSCHEDULER_HOME)s
  48. priority=999
  49. autostart=%(ENV_API_START_ENABLED)s
  50. autorestart=true
  51. startsecs=10
  52. stopwaitsecs=3
  53. exitcodes=0
  54. stopasgroup=true
  55. killasgroup=true
  56. redirect_stderr=true
  57. stdout_logfile=/dev/fd/1
  58. stdout_logfile_maxbytes=0
  59. [program:alert]
  60. command=%(ENV_DOLPHINSCHEDULER_BIN)s/dolphinscheduler-daemon.sh start alert-server
  61. directory=%(ENV_DOLPHINSCHEDULER_HOME)s
  62. priority=999
  63. autostart=%(ENV_ALERT_START_ENABLED)s
  64. autorestart=true
  65. startsecs=5
  66. stopwaitsecs=3
  67. exitcodes=0
  68. stopasgroup=true
  69. killasgroup=true
  70. redirect_stderr=true
  71. stdout_logfile=/dev/fd/1
  72. stdout_logfile_maxbytes=0
  73. [program:logger]
  74. command=%(ENV_DOLPHINSCHEDULER_BIN)s/dolphinscheduler-daemon.sh start logger-server
  75. directory=%(ENV_DOLPHINSCHEDULER_HOME)s
  76. priority=999
  77. autostart=%(ENV_LOGGER_START_ENABLED)s
  78. autorestart=true
  79. startsecs=5
  80. stopwaitsecs=3
  81. exitcodes=0
  82. stopasgroup=true
  83. killasgroup=true
  84. redirect_stderr=true
  85. stdout_logfile=/dev/fd/1
  86. stdout_logfile_maxbytes=0