-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsupervisord.conf
More file actions
44 lines (37 loc) · 1.13 KB
/
supervisord.conf
File metadata and controls
44 lines (37 loc) · 1.13 KB
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
[include]
files = /app/data/supervisord_configs/*.conf
[supervisord]
nodaemon=true
logfile=/app/data/logs/supervisord.log
pidfile=/tmp/supervisord.pid
childlogdir=/app/data/logs
[unix_http_server]
file=/tmp/supervisor.sock
chmod=0770
chown=root:supervisor
[supervisorctl]
serverurl=unix:///tmp/supervisor.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[program:cron]
command=cron -f
autostart=true
autorestart=true
stderr_logfile=/app/data/logs/cron.err.log
stdout_logfile=/app/data/logs/cron.out.log
[program:icecast]
command=/usr/bin/icecast2 -c /app/data/icecast.xml
autostart=true
autorestart=true
stderr_logfile=/app/data/logs/sup_icecast.err.log
stdout_logfile=/app/data/logs/sup_icecast.out.log
user=streamer
[program:python_flask]
command=/app/start_flask.sh
directory=/app
autostart=true
autorestart=true
stderr_logfile=/app/data/logs/sup_flask.err.log
stdout_logfile=/app/data/logs/sup_flask.out.log
user=streamer
environment=FLASK_ENV="%(ENV_FLASK_ENV)s",HOME="/home/streamer",PATH="/home/streamer/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"