From 58521a88d8ff6f37ebf3a69bc910173a334beef6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20B=C3=BChner?= Date: Wed, 1 Mar 2023 14:55:03 +0100 Subject: [PATCH] Add logs for extension and font installation --- startup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/startup.sh b/startup.sh index 548623d..a0637ef 100755 --- a/startup.sh +++ b/startup.sh @@ -36,6 +36,7 @@ fi count=`ls -1 $ADDITIONAL_LIBS_DIR/*.jar 2>/dev/null | wc -l` if [ -d "$ADDITIONAL_LIBS_DIR" ] && [ $count != 0 ]; then cp $ADDITIONAL_LIBS_DIR/*.jar $CATALINA_HOME/webapps/geoserver/WEB-INF/lib/ + echo "Installed $count JAR extension file(s) from the additional libs folder" fi # copy additional fonts before starting the tomcat @@ -43,6 +44,7 @@ fi count=`ls -1 *.ttf 2>/dev/null | wc -l` if [ -d "$ADDITIONAL_FONTS_DIR" ] && [ $count != 0 ]; then cp $ADDITIONAL_FONTS_DIR/*.ttf /usr/share/fonts/truetype/ + echo "Installed $count TTF font file(s) from the additional fonts folder" fi # configure CORS (inspired by https://github.com/oscarfonts/docker-geoserver)