# chkconfig: 112 63 37
# description: tomcat server init script
# Source Function Library
. /etc/init.d/functions
JAVA_HOME=/usr/local/jdk1.6.0_23/
CATALINA_HOME=/usr/local/tomcat
cp -p /usr/local/tomcat/bin/catalina.sh /etc/init.d/tomcat8
chmod 755 /etc/init.d/tomcat8
chkconfig --add tomcat8
chkconfig tomcat8 on
service tomcat8 start
Starting tomcat8 (via systemctl): [ OK ]