[Django]-Can't enable huey service on deploy server

4👍

Try using ExecStart=/home/deploy/projects/my project/project_env/bin/python manage.py run_huey

0👍

In my case I was missing the correct environment, switching to bash solved the issue:

ExecStart=/bin/bash -c 'source /path/to/activate && /path/to/python manage.py run_huey'
👤Jim B

Leave a comment