mirror of
https://github.com/YunoHost-Apps/mygpo_ynh.git
synced 2024-09-03 19:55:52 +02:00
8284155ea3
* Update to 1627ed9d3dddb2a6d0fb85b598d7736f19a06b47 * Update to 2021-06-16 * Update to 2021-09-13 * Update to version 2021-10-11 * use `makemigrations --merge` on migrate * Update 20 version 2021-10-20 * Apply example_ynh * Auto-update README * Fix upgrade * fix datadir Co-authored-by: Jules Bertholet <jules.bertholet@quoi.xyz> Co-authored-by: yalh76 <yalh@yahoo.com> Co-authored-by: Yunohost-Bot <>
21 lines
577 B
Desktop File
21 lines
577 B
Desktop File
[Unit]
|
|
Description=GPodder
|
|
After=network.target postgresql.service nginx.service redis.service __APP__-celery.service __APP__-beat.service
|
|
Requires=__APP__.socket
|
|
|
|
|
|
[Service]
|
|
Type=notify
|
|
User=__APP__
|
|
Group=__APP__
|
|
WorkingDirectory=__FINALPATH__/
|
|
|
|
ExecStart=__FINALPATH__/venv/bin/envdir __FINALPATH__/envs/prod __FINALPATH__/venv/bin/gunicorn -c __FINALPATH__/conf/gunicorn.conf.py mygpo.wsgi:application --bind unix:/run/__APP__.sock
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
Restart=on-failure
|
|
KillMode=mixed
|
|
TimeoutStopSec=5
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|