chengshiwen
4 years ago
10 changed files with 188 additions and 89 deletions
@ -0,0 +1,92 @@ |
|||||||
|
; Licensed to the Apache Software Foundation (ASF) under one |
||||||
|
; or more contributor license agreements. See the NOTICE file |
||||||
|
; distributed with this work for additional information |
||||||
|
; regarding copyright ownership. The ASF licenses this file |
||||||
|
; to you under the Apache License, Version 2.0 (the |
||||||
|
; "License"); you may not use this file except in compliance |
||||||
|
; with the License. You may obtain a copy of the License at |
||||||
|
; |
||||||
|
; http://www.apache.org/licenses/LICENSE-2.0 |
||||||
|
; |
||||||
|
; Unless required by applicable law or agreed to in writing, software |
||||||
|
; distributed under the License is distributed on an "AS IS" BASIS, |
||||||
|
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||||
|
; See the License for the specific language governing permissions and |
||||||
|
; limitations under the License. |
||||||
|
|
||||||
|
; program config file |
||||||
|
|
||||||
|
[program:master] |
||||||
|
command=%(ENV_DOLPHINSCHEDULER_BIN)s/dolphinscheduler-daemon.sh start master-server |
||||||
|
directory=%(ENV_DOLPHINSCHEDULER_HOME)s |
||||||
|
priority=999 |
||||||
|
autostart=%(ENV_MASTER_START_ENABLED)s |
||||||
|
autorestart=true |
||||||
|
startsecs=10 |
||||||
|
stopwaitsecs=3 |
||||||
|
exitcodes=0 |
||||||
|
stopasgroup=true |
||||||
|
killasgroup=true |
||||||
|
redirect_stderr=true |
||||||
|
stdout_logfile=/dev/fd/1 |
||||||
|
stdout_logfile_maxbytes=0 |
||||||
|
|
||||||
|
[program:worker] |
||||||
|
command=%(ENV_DOLPHINSCHEDULER_BIN)s/dolphinscheduler-daemon.sh start worker-server |
||||||
|
directory=%(ENV_DOLPHINSCHEDULER_HOME)s |
||||||
|
priority=999 |
||||||
|
autostart=%(ENV_WORKER_START_ENABLED)s |
||||||
|
autorestart=true |
||||||
|
startsecs=10 |
||||||
|
stopwaitsecs=3 |
||||||
|
exitcodes=0 |
||||||
|
stopasgroup=true |
||||||
|
killasgroup=true |
||||||
|
redirect_stderr=true |
||||||
|
stdout_logfile=/dev/fd/1 |
||||||
|
stdout_logfile_maxbytes=0 |
||||||
|
|
||||||
|
[program:api] |
||||||
|
command=%(ENV_DOLPHINSCHEDULER_BIN)s/dolphinscheduler-daemon.sh start api-server |
||||||
|
directory=%(ENV_DOLPHINSCHEDULER_HOME)s |
||||||
|
priority=999 |
||||||
|
autostart=%(ENV_API_START_ENABLED)s |
||||||
|
autorestart=true |
||||||
|
startsecs=10 |
||||||
|
stopwaitsecs=3 |
||||||
|
exitcodes=0 |
||||||
|
stopasgroup=true |
||||||
|
killasgroup=true |
||||||
|
redirect_stderr=true |
||||||
|
stdout_logfile=/dev/fd/1 |
||||||
|
stdout_logfile_maxbytes=0 |
||||||
|
|
||||||
|
[program:alert] |
||||||
|
command=%(ENV_DOLPHINSCHEDULER_BIN)s/dolphinscheduler-daemon.sh start alert-server |
||||||
|
directory=%(ENV_DOLPHINSCHEDULER_HOME)s |
||||||
|
priority=999 |
||||||
|
autostart=%(ENV_ALERT_START_ENABLED)s |
||||||
|
autorestart=true |
||||||
|
startsecs=5 |
||||||
|
stopwaitsecs=3 |
||||||
|
exitcodes=0 |
||||||
|
stopasgroup=true |
||||||
|
killasgroup=true |
||||||
|
redirect_stderr=true |
||||||
|
stdout_logfile=/dev/fd/1 |
||||||
|
stdout_logfile_maxbytes=0 |
||||||
|
|
||||||
|
[program:logger] |
||||||
|
command=%(ENV_DOLPHINSCHEDULER_BIN)s/dolphinscheduler-daemon.sh start logger-server |
||||||
|
directory=%(ENV_DOLPHINSCHEDULER_HOME)s |
||||||
|
priority=999 |
||||||
|
autostart=%(ENV_LOGGER_START_ENABLED)s |
||||||
|
autorestart=true |
||||||
|
startsecs=5 |
||||||
|
stopwaitsecs=3 |
||||||
|
exitcodes=0 |
||||||
|
stopasgroup=true |
||||||
|
killasgroup=true |
||||||
|
redirect_stderr=true |
||||||
|
stdout_logfile=/dev/fd/1 |
||||||
|
stdout_logfile_maxbytes=0 |
Loading…
Reference in new issue