deluge: Add service files

This commit is contained in:
Toyam Cox 2016-01-18 15:21:25 -05:00
parent ff28743831
commit 00ac165718
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
}