aboutsummaryrefslogtreecommitdiff
path: root/erecht.client.ss/data/conf/tomcat/unix/moa-env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'erecht.client.ss/data/conf/tomcat/unix/moa-env.sh')
-rw-r--r--erecht.client.ss/data/conf/tomcat/unix/moa-env.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/erecht.client.ss/data/conf/tomcat/unix/moa-env.sh b/erecht.client.ss/data/conf/tomcat/unix/moa-env.sh
new file mode 100644
index 000000000..c839bf214
--- /dev/null
+++ b/erecht.client.ss/data/conf/tomcat/unix/moa-env.sh
@@ -0,0 +1,11 @@
+# E-Recht signature client for MOA SS configuration properties file
+MOA_SS_CLIENT_CFG_HOME=$CATALINA_BASE/conf/moa-ss-erecht-client
+PARAM_SSCLIENTCONFIG=-Dat.gv.egovernment.moa.ss.erechtclient.PropertiesLocation=$MOA_SS_CLIENT_CFG_HOME/moa-ss-erecht-client.config.properties
+
+# E-Recht signature client for MOA SS log4j configuration file
+MOA_SS_CLIENT_LOG4J_HOME=$CATALINA_BASE/conf/moa-ss-erecht-client
+PARAM_LOGGING=-Dlog4j.configuration=file:$MOA_SS_CLIENT_LOG4J_HOME/log4j.properties
+
+export CATALINA_OPTS="$PARAM_SSCLIENTCONFIG $PARAM_LOGGING"
+
+echo CATALINA_OPTS=$CATALINA_OPTS