aboutsummaryrefslogtreecommitdiff
path: root/consul/restore_configuration.sh
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2019-10-27 15:26:21 +0100
committerQuentin <quentin@deuxfleurs.fr>2019-10-27 15:26:21 +0100
commit1850d9a6539ff88373508327eb9aa1e8832688fa (patch)
treed14b14593cfb297bc3ef1fcacd29163756297f80 /consul/restore_configuration.sh
parent7a97bbe06c0a8eb7b462d87b128c5ca3154eb582 (diff)
downloadinfrastructure-1850d9a6539ff88373508327eb9aa1e8832688fa.tar.gz
infrastructure-1850d9a6539ff88373508327eb9aa1e8832688fa.zip
[chat] Synapse finally accepts my registration file...
Diffstat (limited to 'consul/restore_configuration.sh')
-rwxr-xr-xconsul/restore_configuration.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/consul/restore_configuration.sh b/consul/restore_configuration.sh
index ba4d353..33742e5 100755
--- a/consul/restore_configuration.sh
+++ b/consul/restore_configuration.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-find {configuration,secrets} -type f \
+find {configuration,secrets}/$1 -type f \
| grep --perl-regexp --invert-match "\.sample$|\.gen$|/.gitignore$" \
| while read filename; do
consul kv put "${filename}" "@${filename}"