[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] RedHat chkconfig & init scripts
- Subject: [ale] RedHat chkconfig & init scripts
- From: jimpop at yahoo.com (Jim Popovitch)
- Date: Thu, 29 Mar 2007 15:42:02 -0400
- In-reply-to: <[email protected]>
- References: <[email protected]>
On Thu, 2007-03-29 at 15:21 -0400, Jeff Lightner wrote:
> Recently I wrote a start/stop init script for some RHEL AS 3 boxes
> (modeled on an existing one). I used chkconfig to turn it ON in my
> multiuser run levels. It worked like a charm on startup to start the
> application (Oracle Middle Tier). It also worked fine from command
> line to stop the application.
Something else that popped into my mind is to check what position your
shutdown script is set to execute in. (chkconfig --list, IIRC). What
you want to make sure of is that your script shutdown before any of it's
dependencies do (i.e. mount points, network, etc.)
-Jim P.