Skip to content

Commit

Permalink
fix location
Browse files Browse the repository at this point in the history
Signed-off-by: Shubham Gupta <[email protected]>
  • Loading branch information
shubham-cmyk committed Sep 29, 2023
1 parent 712f2c2 commit 19453bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,12 @@ start_redis() {
--cluster-announce-ip "${CLUSTER_ANNOUNCE_IP}" \
--cluster-announce-hostname "${POD_HOSTNAME}"
else
redis-server /etc/redis/redis.conf
{
echo cluster-announce-ip "${CLUSTER_ANNOUNCE_IP}"
echo cluster-announce-hostname "${POD_HOSTNAME}"
} >> /etc/redis/redis.conf

redis-server /etc/redis/redis.conf
fi

else
Expand Down

0 comments on commit 19453bb

Please sign in to comment.