Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250578 - Add init script for net-p2p/rtorrent ?
Summary: Add init script for net-p2p/rtorrent ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Peter Alfredsen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-11 01:31 UTC by Jeremy Olexa (darkside) (RETIRED)
Modified: 2008-12-26 10:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
conf file (rtorrentd-conf,44 bytes, text/plain)
2008-12-11 01:33 UTC, Jeremy Olexa (darkside) (RETIRED)
Details
init file (rtorrentd-init,324 bytes, text/plain)
2008-12-11 01:35 UTC, Jeremy Olexa (darkside) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-11 01:31:48 UTC
Hi, This would be a good idea. Copied directly from topperh's blog. I don't know how to contact him. Attachments coming.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-11 01:33:45 UTC
Created attachment 174923 [details]
conf file
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-11 01:35:44 UTC
Created attachment 174924 [details]
init file

He has built in support for "dtach" - I suppose that is the only way to get rtorrent running in the background, but I personally would use screen. I'm not going to 'waste' my time if you are completely against this though (or just plan don't want to) ;)

Please consider.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-11 01:49:16 UTC
(In reply to comment #2)
> Created an attachment (id=174924) [edit]
> init file

Well, to use screen instead:

- --exec /usr/bin/dtach -- -n $SOCKET /usr/bin/rtorrent
+ --exec /usr/bin/screen -- -dmS rtorrentd /usr/bin/rtorrent

And that basically makes the conf file useless. Maybe a USE flag to depend on app-misc/screen? =)
Comment 4 Momesso Andrea 2008-12-11 18:55:00 UTC
(In reply to comment #0)
> Hi, This would be a good idea. Copied directly from topperh's blog. I don't
> know how to contact him. Attachments coming.
> 
No problem for copy/paste from my blog, if interested the original post is here: 
http://topperh.blogspot.com/2008/10/automatic-tv-series-download-using.html
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-26 07:03:51 UTC
Added USE=daemon to rdepend on app-misc/screen and added myself to metadata for init scripts like we talked about. (Thanks Topper!)
Comment 6 Peter Alfredsen (RETIRED) gentoo-dev 2008-12-26 10:57:28 UTC
(In reply to comment #5)
> Added USE=daemon to rdepend on app-misc/screen and added myself to metadata for
> init scripts like we talked about. (Thanks Topper!)
> 

Thank You.