supervisor-program配置

[program:check_server_state]
directory=/sunlight/shell
command=/usr/bin/sh check_server_state.sh
autostart=true
startsecs=10
autorestart=true
startretries=30
user=root
redirect_stderr=true
stopasgroup=true
killasgroup=true
loglevel=info
stopasgroup=true
killasgroup=true
stdout_logfile=/var/log/supervisord/log/check_server_state.log

posted on 2018-01-02 13:44  天涯飞鸿  阅读(459)  评论(0编辑  收藏  举报

导航