Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-06-2009, 08:46 AM   #1
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?


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

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
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,


Old 09-07-2009, 04:10 AM   #3
Senior Member
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
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, 02:08 PM   #4
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!


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

All times are GMT -5. The time now is 11:35 PM.

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