diff --git a/srcpkgs/deluge/files/deluge-web/run b/srcpkgs/deluge/files/deluge-web/run new file mode 100644 index 00000000000..666fb107837 --- /dev/null +++ b/srcpkgs/deluge/files/deluge-web/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec chpst -u delugeweb:delugeweb deluge-web -d 2>&1 diff --git a/srcpkgs/deluge/files/deluged/run b/srcpkgs/deluge/files/deluged/run new file mode 100644 index 00000000000..ffb2c763965 --- /dev/null +++ b/srcpkgs/deluge/files/deluged/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec chpst -u deluge:deluge deluged -d 2>&1 diff --git a/srcpkgs/deluge/template b/srcpkgs/deluge/template index e7e6378b969..90377de6f1e 100644 --- a/srcpkgs/deluge/template +++ b/srcpkgs/deluge/template @@ -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 +}