#!/bin/bash CONFIG=$SERVICE_CONFIGSTORE/etc/redis-local.conf set -e PASSWORD=$(grep ^requirepass "$CONFIG" | sed -r 's/^requirepass\s+(.+)$/\1/g') relation-set password "$PASSWORD" true
#!/bin/bash
CONFIG=$SERVICE_CONFIGSTORE/etc/redis-local.conf
set -e
PASSWORD=$(grep ^requirepass "$CONFIG" | sed -r 's/^requirepass\s+(.+)$/\1/g')
relation-set password "$PASSWORD"
true