diff options
author | 2010-03-18 20:30:24 +0000 | |
---|---|---|
committer | 2010-03-18 20:30:24 +0000 | |
commit | 77d75a0ed1c0aa30c551a90b4cc1afb2fab9180b (patch) | |
tree | 1b357bc6af3bc939afd88a1e72927810d6606333 /net-p2p/rtorrent/files | |
parent | unmasked >=app-misc/mc-4.7.1 now that 4.7.0.3 is stable on most archs (diff) | |
download | historical-77d75a0ed1c0aa30c551a90b4cc1afb2fab9180b.tar.gz historical-77d75a0ed1c0aa30c551a90b4cc1afb2fab9180b.tar.bz2 historical-77d75a0ed1c0aa30c551a90b4cc1afb2fab9180b.zip |
Fix screen invocation in initd script, bug 294435.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'net-p2p/rtorrent/files')
-rw-r--r-- | net-p2p/rtorrent/files/rtorrentd.init | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/net-p2p/rtorrent/files/rtorrentd.init b/net-p2p/rtorrent/files/rtorrentd.init index 8006f0d82cdd..ce32395e7254 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.4 2009/11/16 13:01:28 cla Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v 1.5 2010/03/18 20:30:24 spatz Exp $ depend() { use net ypbind nis @@ -13,9 +13,12 @@ start() { ebegin "Starting rtorrent" env TERM="xterm" \ - start-stop-daemon --start --chuid $USER \ - --env HOME="${PWHOME:-/home/$USER}" \ - --exec /usr/bin/screen -- -dmS rtorrentd /usr/bin/rtorrent + start-stop-daemon \ + --start \ + --user $USER \ + --env HOME="${PWHOME:-/home/$USER}" \ + --name rtorrent \ + --exec /usr/bin/screen -- -dmS rtorrentd /usr/bin/rtorrent eend $? } |