deluge: adjustable options for deluged service

do not use chpst, instead change the user and group through
the daemon itself, which is better since it can be overridden
via opts, plus add opts variable and a possible config file
This commit is contained in:
q66 2020-11-07 04:17:46 +01:00
parent e7d22ba331
commit a249c2b946
2 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
set -e [ -r ./conf ] && . ./conf
exec chpst -u deluge:deluge deluged -d 2>&1 exec deluged -d -U deluge -g deluge ${OPTS} 2>&1

View file

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