uwsgi icon indicating copy to clipboard operation
uwsgi copied to clipboard

Daemonize celery flower

Open famfop opened this issue 2 years ago • 0 comments

The documentation on attaching daemons here gives a great example on how to daemonize celery (in my case). I want to daemonize celery flower but am unable to.

What I tried: smart-attach-daemon = celery flower -A MyApp --address=0.0.0.0 --port=5555 --log-file-prefix=/var/log/Myapp/flower.log This actually starts celery flower but uwsgi reports the (obvious) error open("celery"): No such file or directory [core/daemons.c line 161] smart-attach-daemon = /tmp/celery_flower.sock celery flower -A MyApp --address=0.0.0.0 --unix-socket='/tmp/celery_flower.sock' --log-file-prefix=/var/log/Myapp/flower.log I guess pairing unix-socket with port is not allowed (and did not work).

How can I get this running without uwsgi reporting errors on a non-existing file "celery"?

famfop avatar Sep 06 '23 16:09 famfop