[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