summaryrefslogtreecommitdiffstats
path: root/catalog-be/sdc-backend-init/startup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be/sdc-backend-init/startup.sh')
-rw-r--r--catalog-be/sdc-backend-init/startup.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/catalog-be/sdc-backend-init/startup.sh b/catalog-be/sdc-backend-init/startup.sh
new file mode 100644
index 0000000000..867ec94b31
--- /dev/null
+++ b/catalog-be/sdc-backend-init/startup.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+cd /root/chef-solo
+chef-solo -c solo.rb -E ${ENVNAME}
+rc=$?
+if [[ $rc != 0 ]]; then exit $rc; fi