Refactoring the sdc-BE-init python scripts
[sdc.git] / catalog-be / sdc-backend-init / startup.sh
index a379677..83bfbf2 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-cd /home/sdc/chef-solo || exit $?
+cd /home/"${user}"/chef-solo || exit $?
 chef-solo -c solo.rb -E "${ENVNAME}"
 rc=$?
 if [ $rc != 0 ]; then exit $rc; fi