Update functions
This commit is contained in:
committed by
GitHub
parent
8cc870a1bb
commit
08cd26d394
@@ -39,7 +39,7 @@ service_create() {
|
||||
if [[ -z $REDIS_CONFIG_PATH ]] ; then
|
||||
curl -sSL "https://raw.githubusercontent.com/antirez/redis/${PLUGIN_IMAGE_VERSION:0:3}/redis.conf" > "$SERVICE_ROOT/config/redis.conf" || dokku_log_fail "Unable to download the default redis.conf to the config directory"
|
||||
else
|
||||
cp "$REDIS_CONFIG_PATH" "$SERVICE_ROOT/config/redis.conf"
|
||||
cp "$REDIS_CONFIG_PATH" "$SERVICE_ROOT/config/redis.conf" || dokku_log_fail "Unable to copy the ${REDIS_CONFIG_PATH} to the config directory"
|
||||
fi
|
||||
PASSWORD=$(openssl rand -hex 32)
|
||||
if [[ -n "$SERVICE_PASSWORD" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user