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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[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 git -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 -b :5100
redirect_stderr=true
user=meta
[program:metasrht-webhooks]
autorestart=true
command=celery -A metasrht.webhooks worker --loglevel=info
redirect_stderr=true
user=meta
[program:gitsrht]
autorestart=true
command=gunicorn gitsrht.app:app -b 127.0.0.1:5001 -c /etc/sr.ht/git.sr.ht.gunicorn.conf.py
environment=HOME=/var/lib/git
redirect_stderr=true
user=git
[program:gitsrht-api]
autorestart=true
command=gitsrht-api -b :5101
redirect_stderr=true
user=git
[program:gitsrht-webhooks]
autorestart=true
command=celery -A gitsrht.webhooks worker --loglevel=info
redirect_stderr=true
user=git
[program:todosrht]
autorestart=true
command=gunicorn todosrht.app:app -b 127.0.0.1:5003 -c /etc/sr.ht/todo.sr.ht.gunicorn.conf.py
redirect_stderr=true
user=todo
[program:todosrht-api]
autorestart=true
command=todosrht-api -b :5103
redirect_stderr=true
user=todo
[program:todosrht-webhooks]
autorestart=true
command=celery -A todosrht.webhooks worker --loglevel=info
redirect_stderr=true
user=todo
[program:todosrht-lmtp]
autorestart=true
command=todosrht-lmtp
redirect_stderr=true
user=postfix
[program:nginx]
autostart=true
command=nginx -g 'daemon off;'
redirect_stderr=true
[program:sshd]
autostart=true
command=/usr/sbin/sshd -D -e
redirect_stderr=true