diff --git a/templates/memcached/config/memcached b/templates/memcached/config/memcached index 530e6445..0cd1a1f0 100644 --- a/templates/memcached/config/memcached +++ b/templates/memcached/config/memcached @@ -3,5 +3,5 @@ USER="memcached" MAXCONN="8192" CACHESIZE="9932" # explicit IP to bind to (wrap IPv6 in brackets) -LISTEN=$(echo 127.0.0.1 ::1 $POD_IPS | tr ' ' '\n' | sed 's/\(.*\):\(.*\)/[\1:\2]/' {{ .memcachedTLSListen }}) +LISTEN=$(echo 127.0.0.1 ::1 $POD_IPS | tr ',' ' ' | tr ' ' '\n' | sed 's/\(.*\):\(.*\)/[\1:\2]/' {{ .memcachedTLSListen }}) OPTIONS="-l $(echo $LISTEN | tr ' ' ',') {{ .memcachedTLSOptions }} -vv"