8 lines
204 B
Bash
Executable File
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
|