-   Linux - Software (
-   -   Starting screen + rtorrent at boot (

Per M. 09-17-2007 05:38 PM

Starting screen + rtorrent at boot
I would like to start rtorrent in a screen session as a normal user called "proog". This needs to be done when the system starts so that rtorrent in the screen automatically runs in the background. The distribution is Debian Etch and the system does not have a GUI.
Thanks in advance.

- Per

AlucardZero 09-17-2007 09:55 PM

man screen:

      -d -m  Start screen in "detached" mode. This creates a new session but doesn’t attach  to
              it. This is useful for system startup scripts.

use that in the user's crontab. there's a special flag "@reboot" available for use in crontabs.

thekore 09-22-2007 05:57 AM

Can you provide a sample use of the @reboot flag in a crontab - I am too trying to o something like this. Thanks in advance.

AlucardZero 09-22-2007 10:11 AM


@reboot screen -d -m /usr/local/bin/irssi
not hard.

Per M. 09-28-2007 10:16 AM

Thank you very much.

All times are GMT -5. The time now is 09:59 PM.