django-fritzconnection_ynh/conf/pyinventory.service

18 lines
372 B
SYSTEMD
Raw Normal View History

2022-04-02 17:44:57 +02:00
[Unit]
Description=django-fritzconnection 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