![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
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 |