-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.supervisord.conf
42 lines (39 loc) · 1.07 KB
/
template.supervisord.conf
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
[supervisord]
nodaemon=true
logfile=/var/log/supervisord/supervisord.log
pidfile=/var/run/supervisord/supervisord.pid
childlogdir=/var/log/supervisord/
logfile_maxbytes=5MB ; maximum size of logfile before rotation
logfile_backups=10 ; number of backed up logfiles
loglevel=error
user=root
[program:daphne]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
directory={%APP_DIR%}
autostart=true
autorestart=true
command=daphne -u {%APP_DIR%}/cousinsmatter.socket --proxy-headers cousinsmatter.asgi:application
user={%USER%}
[program:lighttpd]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
directory={%APP_DIR%}
autostart=true
autorestart=true
command=lighttpd -D -f {%APP_DIR%}/lighttpd.conf
user={%USER%}
[program:redis]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
directory={%APP_DIR%}
autostart=true
autorestart=true
command=redis-server
user={%USER%}