Skip to content

Commit c8bcf2b

Browse files
committed
add debug output
1 parent 52ee878 commit c8bcf2b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

bin/nextcloud-domain.sh

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

33
source /usr/local/etc/library.sh
4-
4+
set -x
55
# wait until user decrypts the instance first
66
while :; do
77
needs_decrypt || break
@@ -31,6 +31,8 @@ while :; do
3131
sleep 3
3232
continue
3333
}
34+
# TODO: REmove debug output
35+
echo "found domain: $nc_domain"
3436
# Fix the situation where junk was introduced in the config by mistake
3537
# because Redis was not yet ready to be used even if it was up
3638
[[ "${nc_domain}" =~ "RedisException" ]] && nc_domain="$(hostname)"

0 commit comments

Comments
 (0)