This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# description: Tomcat6 service | |
# processname: java | |
# chkconfig: - 99 1 | |
# Source function library. | |
. /etc/init.d/functions | |
export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/jre | |
export TOMCAT_USER=solr | |
export CATALINA_HOME=/opt/tomcat6 |