You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 lines
191 B

#!/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