How to Start/Stop Customized Script Automatically During Server Boot up/Shut down (Doc ID 2293489.1)

Last updated on AUGUST 09, 2017

Applies to:

Linux OS - Version Oracle Linux 6.0 to Oracle Linux 6.9 [Release OL6 to OL6U9]
Information in this document applies to any platform.

Goal

If you'd like to start or stop your script or application during Linux OS boots up or shuts down, you could add the customized script to the directory /etc/rc.d/init.d/ and make it runs as a service.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms