mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 04:20:17 +02:00
57 lines
1.2 KiB
Plaintext
57 lines
1.2 KiB
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
user=allianceauth
|
|
|
|
[program:beat]
|
|
command=/opt/venv/bin/celery -A myauth beat
|
|
directory=/home/allianceauth/myauth
|
|
user=allianceauth
|
|
stdout_logfile=/dev/stdout
|
|
stderr_logfile=/dev/stderr
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile_maxbytes=0
|
|
autostart=true
|
|
autorestart=true
|
|
startsecs=10
|
|
priority=998
|
|
stdout_events_enabled=true
|
|
stderr_events_enabled=true
|
|
|
|
[program:worker]
|
|
command=/opt/venv/bin/celery -A myauth worker -l INFO --max-tasks-per-child=250
|
|
directory=/home/allianceauth/myauth
|
|
user=allianceauth
|
|
stdout_logfile=/dev/stdout
|
|
stderr_logfile=/dev/stderr
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile_maxbytes=0
|
|
numprocs=1
|
|
autostart=true
|
|
autorestart=true
|
|
startsecs=10
|
|
stopwaitsecs = 600
|
|
killasgroup=true
|
|
priority=998
|
|
stdout_events_enabled=true
|
|
stderr_events_enabled=true
|
|
|
|
[program:gunicorn]
|
|
user=allianceauth
|
|
directory=/home/allianceauth/myauth
|
|
command=/opt/venv/bin/gunicorn myauth.wsgi --bind :8000 --workers=3 --timeout 120
|
|
stdout_logfile=/dev/stdout
|
|
stderr_logfile=/dev/stderr
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile_maxbytes=0
|
|
stdout_events_enabled=true
|
|
stderr_events_enabled=true
|
|
autostart=true
|
|
autorestart=true
|
|
stopsignal=INT
|
|
|
|
[group:myauth]
|
|
programs=beat,worker,gunicorn
|
|
priority=999
|
|
|
|
[supervisorctl]
|