I've created the following link in order to startup apache tomcat on startup, however, it does not seem to run. Am I missing something out?
/etc/init.d
lrwxrwxrwx 1 root root 16 Sep 5 14:59 K73ypbind -> ../init.d/ypbind
lrwxrwxrwx 1 root root 16 Sep 11 13:09 S100tomcat -> ../init.d/tomcat
drwxr-xr-x 2 root root 4096 Sep 11 13:09 .
[root@mrsdev02 rc3.d]# pwd
/etc/rc.d/rc3.d
[root@mrsdev02 rc3.d]#
/etc/init.d
-rwxr-xr-x 1 root root 276 Sep 12 08:16 tomcat
drwxr-xr-x 2 root root 4096 Sep 12 08:16 .
[root@mrsdev02 init.d]# pwd
/etc/init.d
tomcat startup script //this runs when running it manually
[root@mrsdev02 init.d]# cat tomcat
#!/bin/sh
#export CATALINA_OPTS="-server -Xmx512m"
export CATALINA_HOME=/opt/apache-tomcat-5.5.12
case $1 in
start)
$CATALINA_HOME/bin/startup.sh
;;
stop)
$CATALINA_HOME/bin/shutdown.sh
;;
restart)
$CATALINA_HOME/bin/shutdown.sh
$CATALINA_HOME/bin/startup.sh
;;
esac
exit 0
[root@mrsdev02 init.d]#