Skip to content

Commit 5246753

Browse files
committed
fix(database): stub out reload script before starting confd
1 parent 4340f64 commit 5246753

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

database/bin/boot

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ etcd_set_default password ${PG_USER_PASS:-changeme123}
4848
etcd_set_default name ${PG_USER_DB:-deis}
4949
etcd_set_default bucketName ${BUCKET_NAME}
5050

51+
# stub out the confd reload script before it gets templated
52+
echo '#!/bin/sh' > /usr/local/bin/reload
53+
chmod 0755 /usr/local/bin/reload
54+
5155
# wait for confd to run once and install initial templates
5256
until confd -onetime -node $ETCD -confdir /app --interval 5 --quiet; do
5357
echo "database: waiting for confd to write initial templates..."

0 commit comments

Comments
 (0)