summaryrefslogtreecommitdiffstats
path: root/src/main/docker/startService.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/docker/startService.sh')
-rw-r--r--src/main/docker/startService.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/docker/startService.sh b/src/main/docker/startService.sh
new file mode 100644
index 0000000..fd555ff
--- /dev/null
+++ b/src/main/docker/startService.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+cd /opt/app
+if [ -z "${java_runtime_arguments}" ]; then
+ java -Dlogging.config=config/logback.xml -Xms128m -Xmx512m -jar /opt/app/lib/pomba-context-aggregator.jar
+
+else
+ java -Dlogging.config=config/logback.xml $java_runtime_arguments -jar /opt/app/lib/pomba-context-aggregator.jar
+fi