Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion bin/supervisord-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ HOST_IP="${HOST_IP:-127.0.0.1}"
cat <<END>> /etc/profile.d/cluster-deployer-env.sh
export HOST_IP='${HOST_IP}'
export ETCD_URL='${ETCD_URL:-${HOST_IP}:4001}'
export ETCDCTL="${ETCDCTL:-etcdctl --peers $ETCD_URL}"
export ETCD_PROXY_BASE='${ETCD_PROXY_BASE:-/yoda}'
export PROXY_HOST='${PROXY_HOST:-yoda.local.sh}'
export SYNC_CERTS='${SYNC_CERTS:-false}'
Expand All @@ -18,5 +19,6 @@ if [ ! -e /dev/log ]; then
service rsyslog start
fi

$ETCDCTL cluster-health

/bin/bash -le -c "/usr/local/bin/supervisord -c /etc/supervisor/supervisord.conf"
/bin/bash -le -c "/usr/local/bin/supervisord -c /etc/supervisor/supervisord.conf"