mirror of
https://github.com/FuzzyGrim/Yamtrack.git
synced 2026-03-03 03:07:01 +00:00
separate celery beat from celery worker in supervisord
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user