blob: a6b368acfa8a9ca7a56eab6219824dfd26bb8dfe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
cd /opt/app
preStartFile="/opt/app/bin/pre_start.sh"
if [ -f "$preStartFile" ]
then
echo "$preStartFile found."
exec $preStartFile
else
echo "$preStartFile not found."
fi
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
|