summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDawid Węgliński <cla@gentoo.org>2009-11-16 13:01:28 +0000
committerDawid Węgliński <cla@gentoo.org>2009-11-16 13:01:28 +0000
commit26f960e5215e0f460df2f31b9ade80d3e98aad6e (patch)
tree72036157eaf5e8370e3e1f5cca07927664ceaa32 /net-p2p/rtorrent
parentversion bump (diff)
downloadgentoo-2-26f960e5215e0f460df2f31b9ade80d3e98aad6e.tar.gz
gentoo-2-26f960e5215e0f460df2f31b9ade80d3e98aad6e.tar.bz2
gentoo-2-26f960e5215e0f460df2f31b9ade80d3e98aad6e.zip
Fix init.d script to use env rather than double --env parametr passed to s-s-d as it wont start for stable baselayout-1 users (bug #292515). Mark stable on amd64 (bug #291036)
(Portage version: 2.2_rc49/cvs/Linux x86_64)
Diffstat (limited to 'net-p2p/rtorrent')
-rw-r--r--net-p2p/rtorrent/files/rtorrentd.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-p2p/rtorrent/files/rtorrentd.init b/net-p2p/rtorrent/files/rtorrentd.init
index 0d2a6291bd7f..8006f0d82cdd 100644
--- a/net-p2p/rtorrent/files/rtorrentd.init
+++ b/net-p2p/rtorrent/files/rtorrentd.init
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v 1.3 2009/07/28 21:52:33 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v 1.4 2009/11/16 13:01:28 cla Exp $
depend() {
use net ypbind nis
@@ -12,8 +12,8 @@ start() {
PWHOME="$(getent passwd $USER | awk -F: '{ print $6 }')"
ebegin "Starting rtorrent"
+ env TERM="xterm" \
start-stop-daemon --start --chuid $USER \
- --env TERM="xterm" \
--env HOME="${PWHOME:-/home/$USER}" \
--exec /usr/bin/screen -- -dmS rtorrentd /usr/bin/rtorrent
eend $?