标签: python apache ubuntu flask celery
我已经使用celery作为任务处理器,RabbitMQ作为代理队列,flask作为应用程序进行了项目。当我运行flask应用程序时,我还使用以下命令启动celery。
celery
RabbitMQ
flask
$ celery -A app.app worker --loglevel=INFO --concurrency=10 -n
现在,我已经使用flask app部署了apache2 wsgi。因此,我的问题是如何在不使用命令demon的情况下使芹菜工作。
flask app
apache2 wsgi
demon
答案 0 :(得分:0)
Daemonization部分的文档中都进行了介绍。