supervisor自启动azkaban-折腾笔记

配置文件如下:

[program:azkaban]
command=bash -c 'cd /home/azkaban/azkaban/azkaban-solo-server/build/install/azkaban-solo-server && bin/azkaban-solo-start.sh'
directory=/home/azkaban/azkaban/azkaban-solo-server/build/install/azkaban-solo-server
user=root
autostart=true
autorestart=true
logfile=/var/log/supervisor/azkaban.log
log_stderr=true
redirect_stderr=true
stdout_logfile=/var/log/supervisor/azkaban.log
stopsignal=KILL
killasgroup=true
stopasgroup=true

 

分享到:更多 ()