LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 09-17-2007, 05:38 PM   #1
Per M.
LQ Newbie
 
Registered: Oct 2005
Location: Rønne, Denmark
Posts: 27

Rep: Reputation: 15
Question 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
 
Old 09-17-2007, 09:55 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,652

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
man screen:
Code:
      -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.
 
Old 09-22-2007, 05:57 AM   #3
thekore
Member
 
Registered: Oct 2003
Location: Scotland
Distribution: Debian 6.0 | Crunchbang Statler
Posts: 34

Rep: Reputation: 16
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.
 
Old 09-22-2007, 10:11 AM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,652

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
Code:
@reboot screen -d -m /usr/local/bin/irssi
not hard.
 
Old 09-28-2007, 10:16 AM   #5
Per M.
LQ Newbie
 
Registered: Oct 2005
Location: Rønne, Denmark
Posts: 27

Original Poster
Rep: Reputation: 15
Thank you very much.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
get a black screen after RHEL AS starting first boot. desun Red Hat 4 08-09-2008 01:47 AM
Starting Irssi in screen on boot? xrazybud Linux - General 4 07-17-2006 06:48 PM
Starting Irssi in screen on boot? xrazybud *BSD 0 07-17-2006 12:09 AM
starting first boot Blank Screen jj3600 Linux - Newbie 2 02-01-2005 06:41 PM
Won't Boot - Starting Printer Service - Starting CUPS jeansond Linux - Newbie 0 10-11-2004 07:39 PM


All times are GMT -5. The time now is 02:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration