summaryrefslogtreecommitdiffstats
path: root/catalog-be/sdc-backend/startup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be/sdc-backend/startup.sh')
-rw-r--r--catalog-be/sdc-backend/startup.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/catalog-be/sdc-backend/startup.sh b/catalog-be/sdc-backend/startup.sh
new file mode 100644
index 0000000000..92d029d5c0
--- /dev/null
+++ b/catalog-be/sdc-backend/startup.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+JAVA_OPTIONS=" ${JAVA_OPTIONS} -Dconfig.home=${JETTY_BASE}/config -Dlog.home=${JETTY_BASE}/logs -Dlogback.configurationFile=${JETTY_BASE}/config/catalog-be/logback.xml -Dconfiguration.yaml=${JETTY_BASE}/config/catalog-be/configuration.yaml -Dartifactgenerator.config=${JETTY_BASE}/config/catalog-be/Artifact-Generator.properties -Donboarding_configuration.yaml=${JETTY_BASE}/config/onboarding-be/onboarding_configuration.yaml"
+
+cd /root/chef-solo
+chef-solo -c solo.rb -E ${ENVNAME}
+
+cd /var/lib/jetty
+/docker-entrypoint.sh &
+
+while true; do sleep 2; done
+
+
+