Guide: rTorrent + ruTorrent installation
|
5th Feb, 2015, 06:11 AM
Post: #41
|
|||
|
|||
RE: Guide: rTorrent + ruTorrent installation
(20th Oct, 2014 05:08 AM)biker3 Wrote:(29th Sep, 2014 10:04 AM)Crazy Wrote: Thank You for a Great script :-) I installed it on a Respbian and it works perfectly. In /etc/init.d/rtorrent change start-stop-daemon --start --nicelevel $NICE --background --pidfile $PID_FILE --exec /usr/bin/dtach -- -n $TMP rtorrent -n -o import=$CONFIG_FILE to start-stop-daemon --start --chuid <YOUR_USER_HERE>:<YOUR_GROUP_HERE> --nicelevel $NICE --background --pidfile $PID_FILE --exec /usr/bin/dtach -- -n $TMP rtorrent -n -o import=$CONFIG_FILE In my case, I used pi both for user and group (I'm on Raspbian), but if you are using Xbian maybe you want to use something like xbian:xbian. Then, in .rtorrent.rc change execute = {sh,-c,/bin/chgrp www-data /tmp/rtorrent.sock} execute = {sh,-c,/bin/chmod g=rwx /tmp/rtorrent.sock} to execute = {sh,-c,/usr/bin/sudo /bin/chgrp www-data /tmp/rtorrent.sock} execute = {sh,-c,/usr/bin/sudo /bin/chmod g=rwx /tmp/rtorrent.sock} Cheers! |
|||
« Next Oldest | Next Newest »
|