LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   load custom .rtorrent.rc (https://www.linuxquestions.org/questions/linux-software-2/load-custom-rtorrent-rc-664376/)

c3p01126 08-21-2008 12:09 PM

load custom .rtorrent.rc
 
Hello all,

I'm trying to load a .rtorrent.rc in a rtorrent chroot environment. Sadly, I cannot find the switch required to load the .rtorrent.rc from a custom location.

Normally, the .rtorrent.rc is loaded from ~/.rtorrent.rc. So I created a /etc/passwd in my chroot which says that the home directory of u001 is at /home/u001 in the chroot. In u001 chroot home directory there is a ~/.rtorrent.rc. I also added a sh shell to the chroot.

When I execute the following command as root: chroot -u u001 /usr/local/chroot/rtorrent rtorrent

Rtorrent starts but complains it cannot load the resource (.rtorrent.rc) file. The syntax of the rc file is OK. It just cannot find it. I believe I did something wrong with the way I chroot u001 and rtorrent.

Any suggestions?


All times are GMT -5. The time now is 05:33 PM.