Setting up chkconfig for autostart on Linux.
Setting up chkconfig on Linux:
Create /etc/init.d/apps-ctl (owned by root; 755 permissions)
Should contain only these lines:
#!/bin/bash
#
# apps-ctl This scripts runs the Oracle startup.
#
# chkconfig: 345 99 01
# description: This runs the Oracle startup
/dba/development/bin/apps-ctl $1
Register this with chkconfig:
/sbin/chkconfig –help
/sbin/chkconfig –add apps-ctl
/sbin/chkconfig –list
Comments are currently closed.