LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-23-2003, 10:47 AM   #1
rcampbell128
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
Question Daemons Questions


I have 2 questions that i need help with???

1. you have created a deamon called mydaemon that performs database management task on the system, however, you wish to have this daemon start only in runlevel 5. What directory should you place this daemon in????? wHAT links should you create to this daemon????? Write the commands you would use to have this daemon start and stop automatically.


2. Runlevel 4 is typically not used on most linux systems. What file defines this runlevel???? How could you start daemons in this runlevel if you needed to??? What are the steps to utilize runlevel 4. It should load all daemons from runlevel 3 plus some special database daemons as well
 
Old 10-23-2003, 11:07 AM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Well.. in general, in many distributions you'd have the actual service or daemon in

/etc/rc.d/init.d

you would then have a Start symlink in the corresponding run level directory ie for run level 5

/etc/rc.d/rc5.d/
 
  


Reply


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
daemons LinuxLala Linux - General 4 11-28-2003 02:37 PM
turn off daemons elliore Slackware 3 06-30-2003 02:20 PM
Daemons mariua Linux - General 0 10-11-2001 06:03 AM
Daemons mariua Linux - Newbie 0 10-11-2001 06:00 AM
daemons acren Linux - Security 3 07-06-2001 05:28 AM


All times are GMT -5. The time now is 12:37 PM.

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