Centos supervisor 설치
yum install supervisor
Ubuntu supervisor 설치
apt install supervisor
program 설정
[program:test]
process_name=%(program_name)s
directory=/data/test
command=test
autostart=yes
autorestart=yes
startretries=3
sterr_logfile=/var/log/web_test/test_err.log
stdout_log=/var/log/web_test/test.log
user=root
댓글