Merge pull request #3394 from Vaelatern/deluge_sv

deluge: Added service files
This commit is contained in:
Juan RP 2016-01-20 06:00:14 +01:00
commit 20714f3be4
3 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec chpst -u delugeweb:delugeweb deluge-web -d 2>&1

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec chpst -u deluge:deluge deluged -d 2>&1

View File

@ -1,9 +1,10 @@
# Template file for 'deluge'
pkgname=deluge
version=1.3.12
revision=1
revision=2
noarch=yes
build_style=python-module
system_accounts="deluge delugeweb"
pycompile_module="deluge"
hostmakedepends="intltool python-setuptools"
makedepends="python-setuptools"
@ -14,3 +15,8 @@ homepage="http://deluge-torrent.org/"
license="GPL-3"
distfiles="http://download.deluge-torrent.org/source/${pkgname}-${version}.tar.gz"
checksum="ebc8f3f2e9ecc652e9f42ed1798ee102d6fdf89d5a627c6fd24948bf9a73af13"
post_install() {
vsv deluged
vsv deluge-web
}