renamed initialize_tomcat_webapps -> initialize_tomcat_webapps_directory

This commit is contained in:
Sameer Naik
2015-08-15 10:49:17 +05:30
parent 8a029f9407
commit b6fae1dfaf
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
# Tomcat Utility functions
initialize_tomcat_webapps() {
initialize_tomcat_webapps_directory() {
echo "==> Initializing Tomcat webapps directory..."
echo ""
cp -a $BITNAMI_APP_DIR/webapps.defaults/* /app/

View File

@@ -29,7 +29,7 @@ if [ "$1" = 'catalina.sh' ]; then
set -- $@ $EXTRA_OPTIONS
if [ ! -d /app/manager ]; then
initialize_tomcat_webapps
initialize_tomcat_webapps_directory
fi
exec gosu $BITNAMI_APP_USER "$@"