deluge: specify HOME in deluge-web service

Otherwise the deluge-web service tries to load its config from /root and
fails because of missing permissions.
This commit is contained in:
Michal Vasilek 2022-09-06 20:58:54 +02:00
parent 880a0cb043
commit 6b79510634
2 changed files with 2 additions and 1 deletions

View file

@ -1,3 +1,4 @@
#!/bin/sh
sv check deluged >/dev/null || exit 1
HOME=/var/lib/deluge
exec chpst -u deluge:deluge deluge-web -d 2>&1

View file

@ -1,7 +1,7 @@
# Template file for 'deluge'
pkgname=deluge
version=2.0.5
revision=1
revision=2
build_style=python3-module
# TODO package python3-slimit to minify javascript
hostmakedepends="intltool python3-setuptools python3-wheel"