File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
stash-origin/image-config.d Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 1- #! /bin/bash
1+ #! /bin/bash -x
2+
3+ dump_files () {
4+ local containing_dir
5+ shopt -s nullglob
6+ for f in " $containing_dir " /* ; do
7+ echo " ======= $f ======="
8+ cat " $f "
9+ echo
10+ done
11+ shopt -u nullglob
12+ }
213
314# Generate the Authfiles and scitokens.conf file
415if supervisord_is_enabled stash-origin; then
516 /usr/libexec/xcache/authfile-update stash-origin
17+ [[ " $? " -ne 0 ]] && dump_files /run/stash-origin
618fi
7- if supervisord_is_enabled stash-origin-auth; then
19+ if supervisord_is_enabled stash-origin-auth ||
20+ supervisord_is_enabled stash-origin-auth-privileged; then
821 /usr/libexec/xcache/authfile-update stash-origin-auth
22+ [[ " $? " -ne 0 ]] && dump_files /run/stash-origin-auth
923fi
1024
1125
You can’t perform that action at this time.
0 commit comments