I'm trying to run rqworker as an attached-daemon in UWSGI. To do this I add to the config.ini file:
attach-daemon = /path/to/rqworker
Then UWSGI tries to launch rqworker when it should but I get the following error in the logs:
RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment. Either switch to Python 2 or consult http://click.pocoo.org/python3/ for mitigation steps.
I can run rqworker fine from bash but the encoding seems to be not set correctly for the daemon.