fix start script

This commit is contained in:
Ric Harvey
2017-02-07 11:15:23 +00:00
parent 723c4f2d1a
commit e6da096f0e

View File

@@ -5,10 +5,6 @@
mkdir -p -m 0700 /root/.ssh
echo -e "Host *\n\tStrictHostKeyChecking no\n" >> /root/.ssh/config
if [[ "$GIT_USE_SSH" == "1" ]] ; then
echo -e "Host *\n\tUser ${GIT_USERNAME}\n\n" >> /root/.ssh/config
fi
if [ ! -z "$SSH_KEY" ]; then
echo $SSH_KEY > /root/.ssh/id_rsa.base64
base64 -d /root/.ssh/id_rsa.base64 > /root/.ssh/id_rsa
@@ -116,3 +112,4 @@ fi
# Start supervisord and services
exec /usr/bin/supervisord -n -c /etc/supervisord.conf