summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorNorm Traxler <normant@amdocs.com>2019-03-19 22:09:45 +0100
committerNorm Traxler <normant@amdocs.com>2019-03-19 22:09:58 +0100
commitbe9a801901e9cae99d26ac7103935c6d6d05b7ca (patch)
treebf0a5412bc1246f468ea4ec0ca46cacc4dbeb549 /src/main
parentee36c489632f86f801011d2eb69f11d3b0ccc983 (diff)
Remove pre-start script
Issue-ID: LOG-850 Change-Id: I4ca637e19dabd1cee442ebc047f27c487f816a8b Signed-off-by: Norm Traxler <normant@amdocs.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/docker/Dockerfile1
-rw-r--r--src/main/docker/startService.sh11
2 files changed, 0 insertions, 12 deletions
diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile
index 1cd5e65..58aaeee 100644
--- a/src/main/docker/Dockerfile
+++ b/src/main/docker/Dockerfile
@@ -15,6 +15,5 @@ ADD startService.sh $MICROSERVICE_HOME/bin/
RUN chmod 755 $MICROSERVICE_HOME/config/*
RUN chmod 755 $MICROSERVICE_HOME/lib/*
RUN chmod 755 $MICROSERVICE_HOME/bin/*
-# RUN apk --no-cache add curl
CMD ["/opt/app/bin/startService.sh"]
diff --git a/src/main/docker/startService.sh b/src/main/docker/startService.sh
index 6bb0414..fd555ff 100644
--- a/src/main/docker/startService.sh
+++ b/src/main/docker/startService.sh
@@ -1,16 +1,5 @@
#!/bin/sh
-
-cd /opt/app
-preStartFile="/opt/app/bin/pre_start.sh"
-if [ -f "$preStartFile" ]
-then
- echo "Executing $preStartFile ... ..."
- $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