I have written a script to start/stop a service and placed a link in /etc/rc.d/rc#.d, but it still will not stop automatically. Why is this?

Updated -

Release Found: Red Hat Enterprise Linux 3


You have written a script to start and stop a service and placed it in the directory /etc/rc.d/init.d. After using chkconfig to enable the service at different runlevels, the service starts successfully but will not stop automatically when shutting down or switching runlevels.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content