separate celery beat from celery worker in supervisord

This commit is contained in:
FuzzyGrim
2024-08-17 16:41:14 +02:00
parent f74871d211
commit cb63945a9d

View File

@@ -12,7 +12,7 @@ stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:celery]
command=celery --app config worker --beat -S django --loglevel INFO --without-mingle --without-gossip
command=celery --app config worker --beat --loglevel INFO --without-mingle --without-gossip
user=abc
stopasgroup=true
stopwaitsecs=60
@@ -21,3 +21,13 @@ stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:celery-beat]
command = celery --app config beat -s ./db/celerybeat-schedule --loglevel INFO
user=abc
stopasgroup = true
priority = 10
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0