I recently deployed a django web app using Ubuntu 20.04, gunicorn and nginx, Huey was implemented which worked perfectly locally. At production, I need to run python manage.py run_huey using systemd.
I've tried the suggestion here Can't enable huey service on deploy server but not working.
My code is similar to that suggestion. I will appreciate any contribution. Thanks in advance
I was able to solve this issue by adding Requires=gunicorn.socket to the code. Now my huey.service looks
After that I ran sudo systemctl start gunicorn.sock. It worked but showing active:dead which I don't like