updated redis startup script to support hostnames when connecting to master servers