#!/bin/sh
set -e

if [ -n "${REDIS_PASSWORD}" ]; then
   set -- "$@" --requirepass "${REDIS_PASSWORD}"
fi

exec "$@"
