mirror of
https://github.com/YunoHost-Apps/pyinventory_ynh.git
synced 2024-09-03 20:16:09 +02:00
7e92e17a5b
Update via https://github.com/jedie/manageprojects and https://github.com/jedie/cookiecutter_templates/
17 lines
342 B
Desktop File
17 lines
342 B
Desktop File
[Unit]
|
|
Description=__APP__ server
|
|
After=redis.service postgresql.service
|
|
|
|
[Service]
|
|
User=__APP__
|
|
Group=__APP__
|
|
WorkingDirectory=__DATA_DIR__/
|
|
|
|
ExecStart=__DATA_DIR__/venv/bin/gunicorn --config __DATA_DIR__/gunicorn.conf.py wsgi
|
|
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=__APP__-server
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|