mirror of
https://github.com/YunoHost-Apps/pyinventory_ynh.git
synced 2024-09-03 20:16:09 +02:00
9169bf8f3d
"Apply" manually changes from https://github.com/YunoHost-Apps/django_example_ynh * Add "safety check" * Update to `django-yunohost-integration==0.4.0` * `__FINAL_HOME_PATH__` -> `__FINALPATH__` * `__FINAL_WWW_PATH__` -> `__PUBLIC_PATH__` * Add `config_panel.toml` settings
17 lines
345 B
Desktop File
17 lines
345 B
Desktop File
[Unit]
|
|
Description=__APP__ 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
|