summaryrefslogtreecommitdiffstats
path: root/cmso-optimizer/src/main/docker/extra-files/startService.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cmso-optimizer/src/main/docker/extra-files/startService.sh')
-rw-r--r--cmso-optimizer/src/main/docker/extra-files/startService.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmso-optimizer/src/main/docker/extra-files/startService.sh b/cmso-optimizer/src/main/docker/extra-files/startService.sh
new file mode 100644
index 0000000..199c637
--- /dev/null
+++ b/cmso-optimizer/src/main/docker/extra-files/startService.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+VM_ARGS="${VM_ARGS} -Dserver.local.startpath=${RESOURCES_HOME}"
+
+echo "VM_ARGS="${VM_ARGS}
+
+java -Djava.security.egd=file:/dev/./urandom ${VM_ARGS} -Xms256m -Xmx1024m -jar ./app.jar