Skip to content

Commit 3e246a9

Browse files
committed
fix(add_streams.sh): add from streams dir
1 parent 44a5374 commit 3e246a9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

deploy/prod/nats/add_streams.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
#!/bin/bash
22

3-
nats stream add --config /mnt/streams/user.json
3+
for stream_config_file in `ls -lx /mnt/streams`; do
4+
nats stream add --config /mnt/streams/$stream_config_file
5+
done

0 commit comments

Comments
 (0)