redisproxy/start

8 lines
204 B
Plaintext
Raw Permalink Normal View History

2019-03-06 18:43:52 -08:00
#!/bin/sh -ex
LOCALPORT=${LOCALPORT:-:9999}
SENTINEL=${SENTINEL:-:26739}
MASTERNAME=${MASTERNAME:-""}
exec /usr/local/bin/redis-sentinel-proxy -listen $LOCALPORT -sentinel $SENTINEL -master $MASTERNAME