mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
debian: Update the init script for the management server
Signed-off-by: Wido den Hollander <wido@42on.com>
This commit is contained in:
parent
29baacd120
commit
bc1ce57c9b
@ -19,7 +19,7 @@
|
|||||||
# specific language governing permissions and limitations
|
# specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
# Provides: tomcat-vmops
|
# Provides: cloudstack-management
|
||||||
# Required-Start: $local_fs $remote_fs $network
|
# Required-Start: $local_fs $remote_fs $network
|
||||||
# Required-Stop: $local_fs $remote_fs $network
|
# Required-Stop: $local_fs $remote_fs $network
|
||||||
# Should-Start: $named
|
# Should-Start: $named
|
||||||
@ -34,7 +34,7 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
|||||||
NAME=cloudstack-management
|
NAME=cloudstack-management
|
||||||
DESC="CloudStack-specific Tomcat servlet engine"
|
DESC="CloudStack-specific Tomcat servlet engine"
|
||||||
DAEMON=/usr/bin/jsvc
|
DAEMON=/usr/bin/jsvc
|
||||||
CATALINA_HOME=/usr/share/cloudstack/management
|
CATALINA_HOME=/usr/share/cloudstack-management
|
||||||
DEFAULT=/etc/cloudstack/management/tomcat6.conf
|
DEFAULT=/etc/cloudstack/management/tomcat6.conf
|
||||||
JVM_TMP=/tmp/$NAME-temp
|
JVM_TMP=/tmp/$NAME-temp
|
||||||
|
|
||||||
@ -65,7 +65,7 @@ TOMCAT6_USER=tomcat6
|
|||||||
|
|
||||||
# The first existing directory is used for JAVA_HOME (if JAVA_HOME is not
|
# The first existing directory is used for JAVA_HOME (if JAVA_HOME is not
|
||||||
# defined in $DEFAULT)
|
# defined in $DEFAULT)
|
||||||
JDK_DIRS="/usr/lib/jvm/java-1.6.0-openjdk-amd64/ /usr/lib/jvm/java-1.6.0-openjdk-i386/ /usr/lib/jvm/java-1.6.0-openjdk/ /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-6-sun"
|
JDK_DIRS="/usr/lib/jvm/java-7-openjdk-amd64 /usr/lib/jvm/java-7-openjdk-i386 /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-6-openjdk-i386 /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun"
|
||||||
|
|
||||||
# Look for the right JVM to use
|
# Look for the right JVM to use
|
||||||
for jdir in $JDK_DIRS; do
|
for jdir in $JDK_DIRS; do
|
||||||
@ -76,7 +76,7 @@ done
|
|||||||
export JAVA_HOME
|
export JAVA_HOME
|
||||||
|
|
||||||
# Directory for per-instance configuration files and webapps
|
# Directory for per-instance configuration files and webapps
|
||||||
CATALINA_BASE=/usr/share/cloudstack/management
|
CATALINA_BASE=/usr/share/cloudstack-management
|
||||||
|
|
||||||
# Use the Java security manager? (yes/no)
|
# Use the Java security manager? (yes/no)
|
||||||
TOMCAT6_SECURITY=no
|
TOMCAT6_SECURITY=no
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user