LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-06-2009, 09:46 AM   #1
ravedog
Member
 
Registered: Jun 2009
Distribution: Ubuntu, Sabayon
Posts: 38

Rep: Reputation: 0
Debian running on NAS. Need to start daemon after reboot


Hey guys!

I have a NAS with a slimed debian running on it. I installed an nzb grabber on it and i was pondering about what would be the simplest and best way to get it to start every time the system reboots. I made a small bash script that starts it up the right way.

Would it be to possible to place it in the rc or to put an @reboot flag in the crontab?

br,

Ravedog
 
Old 09-07-2009, 03:58 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Hi ravedog,

Ideally you would create an init script for it, copy an existing one eg. /etc/init.d/atd and modify accordingly. Just ensure that yours starts at 99,

cheers,

kbp
 
Old 09-07-2009, 05:10 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
You can put it rc.local so that everytime your system boots up it gets executed.
 
Old 09-08-2009, 03:08 PM   #4
ravedog
Member
 
Registered: Jun 2009
Distribution: Ubuntu, Sabayon
Posts: 38

Original Poster
Rep: Reputation: 0
Hey guys!

Thanks fro tha answers, ill have a go at the suggestions. Cheers!
/Ravedog
 
  


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
Using debian start-stop-daemon on Centos powadha Linux - Software 1 11-02-2008 06:59 AM
running scripts at start up in Debian... mahi Linux - Newbie 3 10-31-2008 05:02 AM
cron daemon doesn't start from inittab, but says already running!! AbrahamJose AIX 1 09-19-2008 05:52 AM
Enable daemon to run with service daemon start,etc baddah Programming 6 12-02-2007 06:51 PM
Debian SSH does not start on reboot renegadeavenger Debian 5 01-31-2007 10:50 AM


All times are GMT -5. The time now is 08:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration