[ale] RedHat chkconfig & init scripts
Jim Popovitch
jimpop at yahoo.com
Thu Mar 29 15:42:02 EDT 2007
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.
More information about the Ale
mailing list