supervisord-apache2.conf 506 Bytes
Newer Older
1 2 3 4 5
[program:apache2]
command=/usr/sbin/apache2ctl -DFOREGROUND
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
redirect_stderr=true
6
priority=3
7 8

[program:gracedb]
9
command=/usr/local/bin/gunicorn config.wsgi:application --reload --config /app/gracedb_project/config/gunicorn_config.py --error-logfile='-' --access-logfile='-' --keep-alive=100
10
directory=/app/gracedb_project
11
user=gracedb
12
group=www-data
13 14 15
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
redirect_stderr=true
16
priority=2
17
autorestart=unexpected