unTorrent not starting on bootup - unraid

simur612

Member
May 25, 2018
879
0
16
Hi Guys,

Beginner question here, but after installation, which goes perfectly I can open the rutorrent webpage and load up downloads etc. However after a reboot untorrent (which i believe is the combination of lighttpd & rutorrent) do not start up.

Now I am sure it is a simple command line to add it to the startup however I am not very clued up on adding this to the start up at all.

I am running this on my unraid server ver 4.5.3

Any help is greatly appreciated.
 

saroos1

Member
May 25, 2018
718
0
16
you need to write a script to start rtorrent with screen.

if you have ssh access you can use the following command:
Code:
screen -dm rtorrent

edit: I am not an unraid user (I don't use anything except for ZFS for my media) so i'm not sure of the EXACT paths for these commands. These commands WILL fail if you do not have them in your path (for instance, some packages will install to /opt/something/bin and it won't be in your path)

For this info, you'll have to refer to your distro....when you DO get it, you can use cron to EASILY start it at boot every time (again, i'm not sure if your distro has specific rules regarding cron and users, so refer to them for that info)

heres a link to MY cronscript. It checks disk space in the user's home dir, then it checks if rtorrent is running.

If ti is running, it exits, if it isn't, it starts it.

you can set something like that to run every 5-10 minutes and you will never have a problem. AGAIN, this is highly dependent on your system.

http://forums.rutorrent.org/index.php?topic=121.0