ATOzTOA ATOzTOA - 1 year ago 164
Linux Question

Running Celery as root

I need to run my Django along with Celery as root for access reasons. It says I need to set C_FORCE_ROOT environment variable. How/where do I set the environment variable?

Answer Source

You can set it to true like this:

# export C_FORCE_ROOT="true"

Then make sure it is set as an env. variable

# echo $C_FORCE_ROOT

But make sure to make it permanent, as this will vanish with the next restart

Have fun :) !!

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download