File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ until confd -onetime -node $ETCD --confdir /app --interval 5 --quiet; do
4747done
4848
4949# spawn confd in the background to update services based on etcd changes
50- confd -node $ETCD --confdir /app --interval 5 --quiet &
50+ confd -node $ETCD --confdir /app --interval 5 --quiet --watch &
5151CONFD_PID=$!
5252
5353# remove any pre-existing docker.sock
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ function on_exit() {
8383trap on_exit TERM
8484
8585# spawn confd in the background to update services based on etcd changes
86- confd -node $ETCD --confdir /app --interval 5 --quiet &
86+ confd -node $ETCD --confdir /app --interval 5 --quiet --watch &
8787CONFD_PID=$!
8888
8989echo deis-controller running...
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ function on_exit() {
102102trap on_exit INT TERM
103103
104104# spawn confd in the background to update services based on etcd changes
105- confd -node $ETCD -confdir /app --interval 5 --quiet &
105+ confd -node $ETCD -confdir /app --interval 5 --quiet --watch &
106106CONFD_PID=$!
107107
108108# wait for the service to become available
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ function on_exit() {
6767trap on_exit INT TERM
6868
6969# spawn confd in the background to update services based on etcd changes
70- confd -node $ETCD --confdir /app --interval 5 --quiet &
70+ confd -node $ETCD --confdir /app --interval 5 --quiet --watch &
7171CONFD_PID=$!
7272
7373echo deis-registry running...
Original file line number Diff line number Diff line change 66ETCD_PORT=${ETCD_PORT:- 4001}
77ETCD=" $HOST :$ETCD_PORT "
88
9- confd -node $ETCD --confdir /app --interval 5 --quiet &
9+ confd -node $ETCD --confdir /app --interval 5 --quiet --watch &
1010
1111# loop forever until the container is stopped
1212while true ; do
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ function on_exit() {
106106trap on_exit INT TERM
107107
108108# spawn confd in the background to update services based on etcd changes
109- confd -node $ETCD --confdir /app --interval 5 --quiet &
109+ confd -node $ETCD --confdir /app --interval 5 --quiet --watch &
110110CONFD_PID=$!
111111
112112echo deis-store-gateway running...
You can’t perform that action at this time.
0 commit comments