From e3c7b25662eb1ebcfcfb4cace89b27cbe0c505dd Mon Sep 17 00:00:00 2001 From: Alain Takoudjou <talino@tiolive.com> Date: Tue, 18 Dec 2012 14:35:38 +0100 Subject: [PATCH] fix ipv6 compatibility with redis --- slapos/recipe/redis/template/redis.conf.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slapos/recipe/redis/template/redis.conf.in b/slapos/recipe/redis/template/redis.conf.in index 2248bfdf3..e2b4ef6e4 100644 --- a/slapos/recipe/redis/template/redis.conf.in +++ b/slapos/recipe/redis/template/redis.conf.in @@ -18,7 +18,7 @@ daemonize no # When running daemonized, Redis writes a pid file in /var/run/redis.pid by # default. You can specify a custom pid file location here. -pidfile /var/run/redis.pid +pidfile %(pid_file)s # Accept connections on the specified port, default is 6379. # If port 0 is specified Redis will not listen on a TCP socket. @@ -29,7 +29,7 @@ port %(port)s # Bind can also be an IPv6 address # bind 127.0.0.1 # bind ::1 -bind %(ipv6)s +bind6 %(ipv6)s # Specify the path for the unix socket that will be used to listen for # incoming connections. There is no default, so Redis will not listen -- 2.30.9