redisproxy/start
2020-03-05 23:38:53 -08:00

8 lines
204 B
Bash
Executable File

#!/bin/sh -ex
LOCALPORT=${LOCALPORT:-:9999}
SENTINEL=${SENTINEL:-:26739}
MASTERNAME=${MASTERNAME:-""}
exec /usr/local/bin/redis-sentinel-proxy -listen $LOCALPORT -sentinel $SENTINEL -master $MASTERNAME