Created attachment 225906 [details] patch Add add rc.d script. Install /doc/rtorrent.rc into ${ETCDIR}/rtorrent.config.sample.
Thanks for your work. I don't know, this needs to be executed in daemon mode, and usually, users want to hold everything in a homedir. What about installing this rc.script as an example and add a message to the pkg-message about it?
I use it as daemon only with WebUI rutorrent: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239921 It runs as www, www have no home dir on my home server. If some one do not want run rtorrent as daemon - then do not add rtorrent_enable="YES" in /etc/rc.conf, no need to move rc.d script to examples to prevent daemon start.
(In reply to rozhuk.im from comment #2) I know, it was not what I meant. So, there are other port involved, you can't use the rcscript without that. Well, at least inform users about that. I don't have time to dig into this, so I dropped maintainership from rtorrent/libtorrent, don't want to hold your work.
Open to take.