How to change celeryd resolution in django

I saw that when I execute celeryd through a regular user, then I get permission to reject the error

/opt/python2.7/bin/celeryd

But it runs as root

The text says that

 "Running celeryd with superuser privileges is not encouraged!") 

How can I assign user1 to celeryd

+4
source share
1 answer

You can add execute permissions for all users by running the following in the terminal:

sudo chmod u+x /opt/python2.7/bin/celeryd

+3
source

All Articles