34 lines
671 B
Plaintext
34 lines
671 B
Plaintext
[unix_http_server]
|
|
file=/tmp/supervisor.sock
|
|
|
|
[supervisord]
|
|
logfile=/tmp/supervisord.log
|
|
logfile_maxbytes=50MB
|
|
logfile_backups=10
|
|
loglevel=warn
|
|
pidfile=/tmp/supervisord.pid
|
|
nodaemon=false
|
|
minfds=1024
|
|
minprocs=200
|
|
user=liquidsoap
|
|
|
|
[rpcinterface:supervisor]
|
|
supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
[supervisorctl]
|
|
serverurl=unix:///tmp/supervisor.sock
|
|
|
|
[program:liquidsoap]
|
|
user=liquidsoap
|
|
command=bash /run.sh
|
|
stopsignal=6
|
|
#stdout_events_enabled=true
|
|
#stderr_events_enabled=true
|
|
autorestart=true
|
|
|
|
#[eventlistener:stdout]
|
|
#command=supervisor_stdout
|
|
#buffer_size=100
|
|
#events=PROCESS_LOG
|
|
#result_hander=supervisor_stdout:event_handler
|