Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 218661 Details for
Bug 303705
net-p2p/rtorrent - Add nice/ionice support in daemon mode
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Updated init script that should support nice/ionice levels
rtorrentd.init (text/plain), 889 bytes, created by
Mark Teller
on 2010-02-06 13:22:13 UTC
(
hide
)
Description:
Updated init script that should support nice/ionice levels
Filename:
MIME Type:
Creator:
Mark Teller
Created:
2010-02-06 13:22:13 UTC
Size:
889 bytes
patch
obsolete
>#!/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 $ > >depend() { > use net ypbind nis > after slapd mysqld postgresql >} > >start() { > PWHOME="$(getent passwd $USER | awk -F: '{ print $6 }')" > > nice_arg= > ionice_arg= > [ -n "${NICE}" ] && nice_arg="-N ${NICE}" > [ -n "${IONICE_CLASS}" ] || [ -n "${IONICE_PRIORITY}" ] && ionice_arg="-I ${IONICE_CLASS:-2}:${IONICE_PRIORITY:-0}" > > ebegin "Starting rtorrent" > env TERM="xterm" \ > start-stop-daemon --start --chuid $USER \ > --env HOME="${PWHOME:-/home/$USER}" \ > ${nice_arg} \ > ${ionice_arg} \ > --exec /usr/bin/screen -- -dmS rtorrentd /usr/bin/rtorrent > eend $? >} > >stop() { > ebegin "Stopping rtorrent" > start-stop-daemon --stop --signal 2 --name rtorrent > eend $? >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 303705
: 218661 |
218663