summaryrefslogtreecommitdiff
path: root/roles/healthchecks/files/supervisord.conf
blob: 52c3c4370a14237f863de9462bc5a5bf2c2d79bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
; Supervisor config file.

[program:healthchecks]
command=/usr/sbin/uwsgi uwsgi.ini 
directory=/opt/%(program_name)s
stopasgroup=true
stdout_logfile=/var/log/%(program_name)s.log
stdout_logfile_maxbytes=0
stdout_logfile_backups=0
redirect_stderr=true
user=%(program_name)s

[inet_http_server]
port = 9100
username = healthchecks
password = healthchecks

[unix_http_server]
file=/run/supervisord.sock

[supervisord]
logfile=/var/log/supervisord.log
loglevel=info
user=root

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

[supervisorctl]
serverurl=unix:///run/supervisord.sock