Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
bad sed path. remove extra
Browse files Browse the repository at this point in the history
Signed-off-by: Erin Schnabel <[email protected]>
  • Loading branch information
Erin Schnabel committed Sep 7, 2017
1 parent ff870ac commit 23ef18a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ if [ "$ETCDCTL_ENDPOINT" != "" ]; then
echo "Using config file $PROXY_CONFIG"

etcdctl get /proxy/third-party-ssl-cert > /etc/ssl/proxy.pem
sed -i s/PLACEHOLDER_PASSWORD/$(etcdctl get /passwords/admin-password)/g /etc/haproxy/haproxy.cfg
sed -i s/PLACEHOLDER_DOCKERHOST/$(etcdctl get /proxy/docker-host)/g /etc/haproxy/haproxy.cfg
sed -i s/PLACEHOLDER_LOGHOST/$(etcdctl get /logstash/endpoint)/g /etc/haproxy/haproxy.cfg

sed -i s/PLACEHOLDER_PASSWORD/$(etcdctl get /passwords/admin-password)/g /opt/haproxy/haproxy.cfg

export SLACKIN_ENDPOINT=$(etcdctl get /endpoints/slackin)

Expand Down

0 comments on commit 23ef18a

Please sign in to comment.