#!/bin/sh # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # # handle specific scripts; the SCRIPT_NAME is exactly the name of the Karaf # script; for example karaf, start, stop, admin, client, ... # # if [ "$KARAF_SCRIPT" == "SCRIPT_NAME" ]; then # Actions go here... # fi # # general settings which should be applied for all scripts go here; please keep # in mind that it is possible that scripts might be executed more than once, e.g. # in example of the start script where the start script is executed first and the # karaf script afterwards. # # # The following section shows the possible configuration options for the default # karaf scripts # JAVA_MIN_MEM=512M # Minimum memory for the JVM JAVA_MAX_MEM=1024M # Maximum memory for the JVM JAVA_PERM_MEM=128M # Minimum perm memory for the JVM JAVA_MAX_PERM_MEM=256M # Maximum memory for the JVM export JAVA_MIN_MEM export JAVA_MAX_MEM export JAVA_PERM_MEM export JAVA_MAX_PERM_MEM #KARAF_HOME=/Users/rfoe/work/redhat/jboss-fuse-6.2.1 #KARAF_BASE=/Users/rfoe/work/redhat/fuse/app01 #KARAF_LIB=/Users/rfoe/work/redhat/jboss-fuse-6.2.1/lib KARAF_HOME=/opt/jboss/fuse6.2 KARAF_BASE=/app/fuse01 KARAF_LIB=/opt/jboss/fuse6.2/lib export KARAF_LIB # Karaf lib folder # export EXTRA_JAVA_OPTS # Additional JVM options export KARAF_HOME # Karaf home folder # export KARAF_DATA # Karaf data folder export KARAF_BASE # Karaf base folder # export KARAF_ETC # Karaf etc folder # export KARAF_OPTS # Additional available Karaf options # export KARAF_REDIRECT # Enable/set the std/err redirection when using bin/start