~dricottone/huttese

ref: fe46d748b6290411d1878311cda721400459fe4a huttese/sr/etc/supervisor/conf.d/supervisord.conf -rw-r--r-- 741 bytes
fe46d748Dominic Ricottone Fixes to configuration 2 years ago
                                                                                
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
31
32
33
34
35
36
37
38
39
40
41
[supervisord]
childlogdir=/var/log/supervisord
logfile=/dev/stderr
logfile_maxbytes=0
nodaemon=true
user=root

[program:crond]
autostart=true
command=crond -f -l 2
redirect_stderr=true

[program:postfix]
autorestart=false
command=postfix start
startsecs=0
redirect_stderr=true

[program:spawn-fcgi]
autorestart=true
command=spawn-fcgi -n -u nginx -p 9000 -- /usr/bin/fcgiwrap -f
redirect_stderr=true

[program:metasrht]
autorestart=true
command=gunicorn metasrht.app:app -b 127.0.0.1:5000 -c /etc/sr.ht/meta.sr.ht.gunicorn.conf.py
redirect_stderr=true
user=meta

[program:metasrht-api]
autorestart=true
command=metasrht-api
redirect_stderr=true
user=meta

[program:nginx]
autostart=true
command=nginx -g 'daemon off;'
redirect_stderr=true