Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Changing run levels -init.d

Changing run levels -init.d

2004-03-26       - By Percent, Lonnie M.

 Back
Reply:     1     2     3     4     5     6     7  


That�s great to know and I appreciate your answer.

I DO NOT want the db startup and shutdown to be managed in ckhconfig.

What I want to know at what runlevels the start and kill scripts are executed
I have read thru the rc script in /etc/rc.d and the RH doc for 7.2.
If I am at runlevel 3 and going to runlevel 5
It looks at the K scripts in runlevel 5 executes them and then looks at the S
Scripts in runlevel 5 and executes them -

It doesn�t execute anything in runlevel 3.

I believe this is different from Sys V behavior correct me if I am wrong.

I am just trying to verify so I can put my S and K scripts in the correct dirs.

-- --Original Message-- --
From: redhat-list-bounces@(protected) [mailto:redhat-list-bounces@(protected)] On Behalf Of Jurvis LaSalle
Sent: Thursday, March 25, 2004 4:35 PM
To: General Red Hat Linux discussion list
Subject: Re: Changing run levels -init.d



On Mar 25, 2004, at 6:45 PM, Percent, Lonnie M. wrote:

>
> I have put my scripts in init.d - and have not added them to
> chkconfig. ? that 's ok as I don 't want them changed that way by
> anyone. ?


I don 't think you have fully grokked the man page for chkconfig,
specifically the -add option and the two little lines that you add at
the top of your startup script.

from the man page <snip >

Each service which should be manageable by chkconfig needs two or more
commented lines added to its init.d script. The first line
tells chk-config what runlevels the service should be started in by
default, as well as the start and stop priority levels. If the service
should not, by default, be started in any runlevels, a - should be used in
place of the runlevels list. The second line contains a description
for the service, and may be extended across multiple lines with
backslash con-tinuation.

For example, random.init has these three lines:
# chkconfig: 2345 20 80
# description: Saves and restores system entropy pool for \
# higher quality random number generation.
This says that the random script should be started in levels 2,
3, 4, and 5, that its start priority should be 20, and that its stop
priority should be 80. You should be able to figure out what the
Description says; the \ causes the line to be continued. The extra space
in front of the line is ignored. ######################################


hth,
Jurvis LaSalle




--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list