File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ chown $REDIS_USER_ID:$REDIS_GROUP_ID /usr/local/etc/redis/sentinel.conf
1212/opt/redis/scripts/giddyup service wait scale --timeout 120
1313stack_name=` echo -n $( wget -q -O - http://rancher-metadata/latest/self/stack/name) `
1414my_ip=$( /opt/redis/scripts/giddyup ip myip)
15- master_ip=$( leader_ip $stack_name redis-server )
15+ master_ip=$( leader_ip $stack_name redis)
1616
1717echo " my ip is $my_ip "
1818echo " master ip is $master_ip "
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ chown $REDIS_USER_ID:$REDIS_GROUP_ID /usr/local/etc/redis/redis.conf
1212/opt/redis/scripts/giddyup service wait scale --timeout 120
1313stack_name=` echo -n $( wget -q -O - http://rancher-metadata/latest/self/stack/name) `
1414my_ip=$( /opt/redis/scripts/giddyup ip myip)
15- master_ip=$( leader_ip $stack_name redis-server )
15+ master_ip=$( leader_ip $stack_name redis)
1616
1717sed -i -E " s/^ *bind +.*$/bind 0.0.0.0/g" /usr/local/etc/redis/redis.conf
1818sed -i -E " s/^ *appendonly +.*$/appendonly yes/g" /usr/local/etc/redis/redis.conf
You can’t perform that action at this time.
0 commit comments