supervisord.conf.in

Plain Text icon supervisord.conf.in — Plain Text, 1 KB (1184 bytes)

Dateiinhalt

[unix_http_server]
file=${buildout:directory}/var/supervisor.sock
chmod=0600

[supervisorctl]
serverurl=unix://${buildout:directory}/var/supervisor.sock

[rpcinterface:supervisor]
supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface

[supervisord]
logfile=${buildout:directory}/var/log/supervisord.log
logfile_maxbytes=5MB
logfile_backups=10
loglevel=info
pidfile=${buildout:directory}/var/supervisord.pid ;
childlogdir=${buildout:directory}/var/log
nodaemon=false              ; (start in foreground if true;default false)
minfds=1024                 ; (min. avail startup file descriptors;default 1024)
minprocs=200                ; (min. avail process descriptors;default 200)
directory=%(here)s

[program:ejabberd]
command = ${buildout:bin-directory}/ejabberd
startretries = 5
redirect_stderr = true
autostart = true
autorestart = true
priority = 100

[program:nginx]
command = ${buildout:bin-directory}/nginx-cfg start
autostart= true
autorestart = true
redirect_stderr = true
priority = 200

[program:instance]
command = ${buildout:bin-directory}/instance start
startretries = 5
redirect_stderr = true
autostart= true
autorestart = true
priority = 300