arrow_back
snippet : django.service systemctl
[Unit]
Description=runserver daemon
After=network.target
[Service]
User=root
Group=www-data
WorkingDirectory=/home/ubuntu/<ProjectName>
ExecStart=/home/ubuntu/<ProjectName>/env/bin/python3 manage.py runserver 0.0.$
[Install]
WantedBy=multi-user.target
Published @ Feb 2020