; Celery 广播 Worker（仅消费 default 队列，跑 dingdan_guangbo）
; 安装：复制到 /etc/supervisor/conf.d/ 后执行 supervisorctl reread && supervisorctl update
;
; cp deploy/supervisor/celery-broadcast.conf /etc/supervisor/conf.d/celery-broadcast.conf
; supervisorctl reread && supervisorctl update && supervisorctl start celery-broadcast

[program:celery-broadcast]
directory=/opt/1panel/apps/openresty/nginx/www/sites/43.142.166.152.443/django
command=/opt/1panel/apps/openresty/nginx/www/sites/43.142.166.152.443/django/venv/bin/celery -A a_long_dianjing worker -l info -Q default --concurrency=4 --hostname=broadcast@%%h
user=root
autostart=true
autorestart=true
startsecs=10
startretries=999
stopwaitsecs=600
killasgroup=true
stopasgroup=true
stdout_logfile=/var/log/celery-broadcast.log
stderr_logfile=/var/log/celery-broadcast.err.log
stdout_logfile_maxbytes=50MB
stderr_logfile_maxbytes=50MB
environment=DJANGO_SETTINGS_MODULE="a_long_dianjing.settings"
