Initial curated ITWorx_MCP_Hub source from 368fba691ea8d23403b4d56b53b5ec670d7c5020
This commit is contained in:
commit
cb5be898ea
663 files changed
+82674
No files matched your search
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
if [ "${REDIS_AUTH_ENABLED:-false}" = "true" ]; then
|
||||
secret=/run/secrets/redis_password
|
||||
[ -f "$secret" ] && [ -r "$secret" ] && [ -s "$secret" ] || exit 1
|
||||
REDISCLI_AUTH="$(tr -d '\r\n' < "$secret")"
|
||||
export REDISCLI_AUTH
|
||||
fi
|
||||
|
||||
response="$(redis-cli ping 2>/dev/null)"
|
||||
[ "$response" = "PONG" ]
|
||||
Reference in new issue
Block a user