9 lines
150 B
Bash
9 lines
150 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
if [ "${1%.tmpl}" != "$1" ]; then
|
|
cat "$1" | envsubst > /etc/redis.conf
|
|
set -- /etc/redis.conf
|
|
fi
|
|
|
|
docker-entrypoint.sh "$@" |