deluge: fix system accounts and runit services
This commit is contained in:
parent
a8f5b6be9e
commit
efb74bf577
3 changed files with 7 additions and 2 deletions
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec chpst -u delugeweb:delugeweb deluge-web -d 2>&1
|
||||
sv check deluged >/dev/null || exit 1
|
||||
exec chpst -u deluge:deluge deluge-web 2>&1
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
mkdir -p /var/lib/deluge
|
||||
chown deluge:deluge /var/lib/deluge
|
||||
exec chpst -u deluge:deluge deluged -d 2>&1
|
||||
|
|
|
@ -4,8 +4,9 @@ version=1.3.13
|
|||
revision=1
|
||||
noarch=yes
|
||||
build_style=python2-module
|
||||
system_accounts="deluge delugeweb"
|
||||
pycompile_module="deluge"
|
||||
system_accounts="deluge"
|
||||
deluge_homedir="/var/lib/deluge"
|
||||
hostmakedepends="intltool python-setuptools"
|
||||
makedepends="python-setuptools"
|
||||
depends="pygtk python-setuptools python-chardet python-xdg Twisted libtorrent-rasterbar-python xdg-utils"
|
||||
|
|
Loading…
Reference in a new issue