如何在django中更改celeryd的权限
作者:互联网
我已经看到,当我通过普通用户执行celeryd然后我得到权限被拒绝错误
/opt/python2.7/bin/celeryd
但它与root用户一起执行
在文中它说
"Running celeryd with superuser privileges is not encouraged!")
如何为celeryd分配previle到user1
解决方法:
您可以通过在终端中运行以下命令为所有用户添加执行权限:
sudo chmod u x /opt/python2.7/bin/celeryd
标签:python,celery,django-celery 来源: https://codeday.me/bug/20190630/1338150.html