|
@@ -5,4 +5,8 @@ requirepass $REDISPASS
|
|
user quota_notify on nopass ~QW_* -@all +get +hget +ping
|
|
user quota_notify on nopass ~QW_* -@all +get +hget +ping
|
|
EOF
|
|
EOF
|
|
|
|
|
|
|
|
+if [ -n "$REDISMASTERPASS" ]; then
|
|
|
|
+ echo "masterauth $REDISMASTERPASS" >> /redis.conf
|
|
|
|
+fi
|
|
|
|
+
|
|
exec redis-server /redis.conf
|
|
exec redis-server /redis.conf
|