summaryrefslogtreecommitdiffstats
path: root/catalog-fe/sdc-frontend/startup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-fe/sdc-frontend/startup.sh')
-rw-r--r--catalog-fe/sdc-frontend/startup.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/catalog-fe/sdc-frontend/startup.sh b/catalog-fe/sdc-frontend/startup.sh
new file mode 100644
index 0000000000..d8f522d3e1
--- /dev/null
+++ b/catalog-fe/sdc-frontend/startup.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+JAVA_OPTIONS=" ${JAVA_OPTIONS} -Dconfig.home=${JETTY_BASE}/config -Dlog.home=${JETTY_BASE}/logs -Dlogback.configurationFile=${JETTY_BASE}/config/catalog-fe/logback.xml -Dconfiguration.yaml=${JETTY_BASE}/config/catalog-fe/configuration.yaml -Donboarding_configuration.yaml=${JETTY_BASE}/config/onboarding-fe/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
+