django-for-runners_ynh/conf/django-for-runners.service
2021-10-10 16:19:47 +02:00

17 lines
368 B
Desktop File

[Unit]
Description=django-for-runners application server
After=redis.service postgresql.service
[Service]
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
ExecStart=__FINALPATH__/venv/bin/gunicorn --config __FINALPATH__/gunicorn.conf.py wsgi
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=__APP__-server
[Install]
WantedBy=multi-user.target