From 3332b71c040c1fcc8af841fd48fc429f4402c4d9 Mon Sep 17 00:00:00 2001 From: Joshua Sierles Date: Fri, 19 Aug 2011 19:45:18 +0200 Subject: [PATCH] make memcached bluepill work --- memcached/templates/default/bluepill.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memcached/templates/default/bluepill.conf.erb b/memcached/templates/default/bluepill.conf.erb index bac617b..2c0780b 100644 --- a/memcached/templates/default/bluepill.conf.erb +++ b/memcached/templates/default/bluepill.conf.erb @@ -1,6 +1,6 @@ Bluepill.application("<%= @name %>") do |app| app.process("<%= @name %>") do |process| - process.start_command = "/usr/bin/memcached -d -P <%= @pid_path %> -m <%= @config['max_memory'] %> -p <%= @config['port'] %> -c <%= @config['max_connections'] %> -u <%= @config['user'] %>" + process.start_command = "/usr/bin/memcached -d -P <%= @pid_path %> -m <%= @max_memory %> -p <%= @port %> -c <%= @max_connections %> -u <%= @user %>" process.stop_command = "kill -QUIT {{PID}}" process.pid_file = "<%= @pid_path %>" process.uid = "<%= @user %>"