diff --git a/templates/memcached_sysconfig.erb b/templates/memcached_sysconfig.erb index cd3ccf4b6..9f20c5895 100644 --- a/templates/memcached_sysconfig.erb +++ b/templates/memcached_sysconfig.erb @@ -6,19 +6,19 @@ CACHESIZE="<%= scope.function_memcached_max_memory([@max_memory]) %>" OPTIONS="<% result = [] if @verbosity - result << '-' + verbosity + result << '-' + @verbosity end if @lock_memory result << '-k' end if @listen_ip - result << '-l ' + listen_ip + result << '-l ' + @listen_ip end if @udp_port - result << '-U ' + udp_port + result << '-U ' + @udp_port end if @item_size - result << '-I ' + item_size + result << '-I ' + @item_size end -result << '-t ' + processorcount +result << '-t ' + @processorcount -%><%= result.join(' ') -%>"