[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Start rtorrent on bootup in Squeeze



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/07/11 10:04, Ramon Hofer wrote:
> Thanks for your reply.
> 
> I know that an option is to write an init.d script that meets the LSB 
> requirements. But this seems very complicated to me and therefore I 
> wanted to know if somebody else uses rtorrent in a seedbox.
> 
> I accidentally found the option in the rtorrent.rc file to automatically 
> run some programs on screen startup by adding 'screen -t rtorrent 
> rtorrent' to the end of my ~/.rtorrent.rc (which is actually a copy of /
> etc/screenrc).
> 
> Now when I start screen it puts me automatically into a rtorrent session.
> Unfortunately screen doesn't start a (detached) session when the system 
> boots.
> 
> I will go for the hard way and create the script if there isn't anybody 
> who already has the solution to that ;-)

hello again,
I would suggest using /etc/init.d/skeleton as a template for your
script, it has included all necessary functions, you'll need just to
change it slightly

- -- 

|_|0|_|                                          |
|_|_|0|         "Heghlu'Meh QaQ jajVam"          |
|0|0|0|         -------- kuLa ---------          |

gpg --keyserver pgp.mit.edu --recv-keys 0xC100B4CA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOEYMuAAoJEOqHloDBALTKUE8H/i1xImNuPAdmKjPU1y8bSj3/
5PNjqdSqr0/Kmt44jOdtHxzB79bA17kPxgSaCm8sSEfEhkbAjdXbH20jej9HyBWK
WvagodlX4HH0AWxr7T7UzkJ+hSspj//o7uDZyAyoLw/pw7EFgKsQBIZbbyRcbgGi
05R3F9h6f1PNi5u1sjDP9z5GNbvKSPd/XP3YHCbHXr8pwuPFvYRMXPiZ0rE4Otlb
r9tpr2gLNE0gQ1HW3ZNLvWwYN9n5IkIl+Rn8jiQpUbzY6svnal19Ed1wLlf4nHfX
QsBnue+Bif2L+wOEnj8I7HS4vBAN5UrxVJurEFkfsXEkf3uOpRMqqZJWqIx1Q0U=
=x4rc
-----END PGP SIGNATURE-----


Reply to: