django-for-runners_ynh/conf/pyinventory.service
JensDiemer 94fc74cc02 init
2020-12-12 19:38:58 +01: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