33 lines
973 B
Plaintext
33 lines
973 B
Plaintext
|
; supervisor config file
|
||
|
|
||
|
[unix_http_server]
|
||
|
file=/srv/run//supervisor.sock
|
||
|
chmod=0700
|
||
|
|
||
|
[supervisord]
|
||
|
logfile=/srv/log/supervisord.log
|
||
|
logfile_maxbytes=2MB
|
||
|
logfile_backups=5
|
||
|
loglevel=error
|
||
|
pidfile=/srv/run/supervisord.pid
|
||
|
#childlogdir=
|
||
|
user=app
|
||
|
|
||
|
; the below section must remain in the config file for RPC
|
||
|
; (supervisorctl/web interface) to work, additional interfaces may be
|
||
|
; added by defining them in separate rpcinterface: sections
|
||
|
[rpcinterface:supervisor]
|
||
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
||
|
|
||
|
[supervisorctl]
|
||
|
serverurl=unix:///srv/run//supervisor.sock ; use a unix:// URL for a unix socket
|
||
|
|
||
|
; The [include] section can just contain the "files" setting. This
|
||
|
; setting can list multiple files (separated by whitespace or
|
||
|
; newlines). It can also contain wildcards. The filenames are
|
||
|
; interpreted as relative to this file. Included files *cannot*
|
||
|
; include files themselves.
|
||
|
|
||
|
[include]
|
||
|
files = /srv/conf/supervisor.d/*
|