[Django]-How to make djangoQ run as a service using systemd

2👍

It works well. Try it.

[Unit]
Description=Django-Q Cluster for site TestSite
After=multi-user.target

[Service]
Type=simple
ExecStart=/home/test/TestSite/venv/bin/python3 /home/test/TestSite/manage.py qcluster

[Install]
WantedBy=multi-user.target
👤njzhan

Leave a comment