Merge pull request #3394 from Vaelatern/deluge_sv
deluge: Added service files
This commit is contained in:
commit
20714f3be4
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec chpst -u delugeweb:delugeweb deluge-web -d 2>&1
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec chpst -u deluge:deluge deluged -d 2>&1
|
|
@ -1,9 +1,10 @@
|
||||||
# Template file for 'deluge'
|
# Template file for 'deluge'
|
||||||
pkgname=deluge
|
pkgname=deluge
|
||||||
version=1.3.12
|
version=1.3.12
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
system_accounts="deluge delugeweb"
|
||||||
pycompile_module="deluge"
|
pycompile_module="deluge"
|
||||||
hostmakedepends="intltool python-setuptools"
|
hostmakedepends="intltool python-setuptools"
|
||||||
makedepends="python-setuptools"
|
makedepends="python-setuptools"
|
||||||
|
@ -14,3 +15,8 @@ homepage="http://deluge-torrent.org/"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
distfiles="http://download.deluge-torrent.org/source/${pkgname}-${version}.tar.gz"
|
distfiles="http://download.deluge-torrent.org/source/${pkgname}-${version}.tar.gz"
|
||||||
checksum="ebc8f3f2e9ecc652e9f42ed1798ee102d6fdf89d5a627c6fd24948bf9a73af13"
|
checksum="ebc8f3f2e9ecc652e9f42ed1798ee102d6fdf89d5a627c6fd24948bf9a73af13"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vsv deluged
|
||||||
|
vsv deluge-web
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue