The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
About init Puntino UNIX for Dummies Questions & Answers 2 04-26-2008 05:53 AM
different between /sbin/init and /usr/sbin/init userking SUN Solaris 2 02-19-2008 05:37 PM
/etc/init.d/networking gauri UNIX for Dummies Questions & Answers 0 02-15-2006 02:38 AM
Init 6 & Init 0 problem sc2005 UNIX for Advanced & Expert Users 6 09-06-2005 07:36 AM
I cannot init kde elfyl Linux 3 08-09-2005 06:17 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-22-2000
Registered User
 

Join Date: Nov 2000
Location: Burnaby BC
Posts: 1
Exclamation

I have written a daemon and want to make sure that it starts up again after the machine is re-started so I can quit manually doing it. Problem is I'm having difficulty understanding what to do with the init.d

Any help would be appreciated!
Forum Sponsor
  #2  
Old 11-22-2000
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,493
Insuring a local daemon process starts up on reboot is normally done in the boot scripts. These are normally found in the <b>/etc/rc.d</b> directory. There is normally a placeholder for local processes and I recommend you use that construct.

Find or create a form of the <b>/etc/rc.d/rc.local</b> file and put the startup commands there. The exact form and file depends your system. Make sure the main startup scripts call the rc.local script.

I do not recommend using the <b>inetd</b> for this, especially if you are a new UNIX user. In fact, most experienced users and installations put system addons in the <b>rc.local</b> or similar file.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:44 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0