All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.home.bin.service-wrapper.sh Maven / Gradle / Ivy

There is a newer version: 4.0.3
Show newest version
#! /bin/sh
# Java Service Wrapper (http://wrapper.tanukisoftware.com) script with some extra inital code

# Expected environment:
#  (cwd) stage directory
#  $1    catalina_home
#  $2    wrapper_home (${STOOL_HOME}/service-wrapper/${SERVICE_WRAPPER_NAME})
#  $3    backstage    (${BACKSTAGE})
#  (everything else goes to the original script)

CATALINA_HOME=$1 ; shift
WRAPPER_HOME=$1 ; shift
BACKSTAGE=$1 ; shift

export CATALINA_BASE=$BACKSTAGE/tomcat
export WRAPPER_CMD=${WRAPPER_HOME}/bin/wrapper
export WRAPPER_CONF=$BACKSTAGE/service/service-wrapper.conf
export PIDDIR=$BACKSTAGE/run

export CATALINA_HOME
export WRAPPER_HOME

$BACKSTAGE/service/service-wrapper.sh "$@"




© 2015 - 2024 Weber Informatics LLC | Privacy Policy