#1  
Old 27th September 2005, 10:38
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 9 Times in 8 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
Sponsored Links
  #2  
Old 27th September 2005, 11:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 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
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 27th September 2005, 11:37
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 9 Times in 8 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 13:03
Compile Kernel 2.6 under Debian Sarge falko HOWTO-Related Questions 5 17th October 2008 13:58
Problems installing ISPConfig Debian Sarge hschel Server Operation 4 22nd August 2005 19:46
Debian Sarge Install grahamer Installation/Configuration 1 11th August 2005 12:48
Install Debian Sarge with Kernel 2.6 root Installation/Configuration 4 10th May 2005 10:51


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


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.