#1  
Old 27th September 2005, 11:38
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 3 Times in 2 Posts
Default Debian (Sarge) Deamon Mode?

I'm trying to run a.. umm, hard to explain. This is what is required. I obviuosly get an error because the example below is for RH.
PHP Code:
## For those using Redhat style rc files and using daemon-mode:
  
cp sample-etc_rc.d_init.d_ddclient /etc/rc.d/init.d/ddclient
  
## enable automatic startup when booting
  
/sbin/chkconfig --add ddclient
  
## start the first time by hand
  
/etc/rc.d/init.d/ddclient start 
What must be done in order for the script to able to run on every reboot?

Thanks
Reply With Quote
  #2  
Old 27th September 2005, 12:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

Quote:
Originally Posted by domino
I'm trying to run a.. umm, hard to explain. This is what is required. I obviuosly get an error because the example below is for RH.
PHP Code:
## For those using Redhat style rc files and using daemon-mode:
  
cp sample-etc_rc.d_init.d_ddclient /etc/rc.d/init.d/ddclient
  
## enable automatic startup when booting
  
/sbin/chkconfig --add ddclient
  
## start the first time by hand
  
/etc/rc.d/init.d/ddclient start 
What must be done in order for the script to able to run on every reboot?

Thanks
For Debian the steps should be as follows:

Code:
cp sample-etc_rc.d_init.d_ddclient /etc/init.d/ddclient
update-rc.d ddclient defaults
/etc/init.d/ddclient start
__________________
Falko
--
Follow me on:
Reply With Quote
  #3  
Old 27th September 2005, 12:37
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 3 Times in 2 Posts
Default

Thanks Falko!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile Kernel 2.6 under Debian Sarge falko Kernel Questions 117 28th September 2009 14:03
Compile Kernel 2.6 under Debian Sarge falko HOWTO-Related Questions 5 17th October 2008 14:58
Problems installing ISPConfig Debian Sarge hschel Server Operation 4 22nd August 2005 20:46
Debian Sarge Install grahamer Installation/Configuration 1 11th August 2005 13:48
Install Debian Sarge with Kernel 2.6 root Installation/Configuration 4 10th May 2005 11:51


All times are GMT +2. The time now is 15:07.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions
Join the discussion.
www.seamlessenterprise.com

IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com

Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com

Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com

Red Hat Virtual Experience - a free virtual event. Dec. 9th