blob: f4eb9b11ddaa156b587f3d8837a3a0d3054f8e6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
COMMON_SCRIPT=${DIR}/../../common/common.sh
source "${COMMON_SCRIPT}" || {
echo "ERROR: Common script failed"
exit 1
}
if [ -f "${TOMCAT_HOME}/bin/shutdown.sh" ]; then
"${TOMCAT_HOME}/bin/shutdown.sh"
if [ -d "${TOMCAT_HOME}/webapps/${VID_ENDPOINT_NAME}" ]; then
rm -r "${TOMCAT_HOME}/webapps/${VID_ENDPOINT_NAME}"
fi
fi
|