Files
server_utils/systemd/scha.service

19 lines
431 B
Desktop File

[Unit]
Description=SCHA Site daemon
Requires=scha.socket
After=network.target
[Service]
User=westfarn
Group=www-data
WorkingDirectory=/home/westfarn/Documents/django_live_sites/SCHA/SCHA
ExecStart=/home/westfarn/Documents/django_live_sites/SCHA/venv/bin/gunicorn \
--access-logfile - \
--workers 3 \
--bind unix:/run/scha.sock \
scha.wsgi:application
[Install]
WantedBy=multi-user.target