From 47d6f82b5fcb77286428c92809b9a30cc167d731 Mon Sep 17 00:00:00 2001 From: zhitomirskiyi Date: Fri, 12 Nov 2010 14:00:28 -0800 Subject: [PATCH] another little typo --- chef/cookbooks/common/recipes/daemontools.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chef/cookbooks/common/recipes/daemontools.rb b/chef/cookbooks/common/recipes/daemontools.rb index a7e1add50..84e4a4f10 100644 --- a/chef/cookbooks/common/recipes/daemontools.rb +++ b/chef/cookbooks/common/recipes/daemontools.rb @@ -16,9 +16,9 @@ end config = YAML.load_file("/usr/local/app/diaspora/chef/cookbooks/common/files/default/thins.yml") config.each do |thin| - id = thin["port"] + port = thin["port"] #socket = "/tmp/thin_#{id}.sock" - dir = "/service/thin_#{id}" + dir = "/service/thin_#{port}" flags = [] flags << "-c /usr/local/app/diaspora" #directory to run from flags << "-e production" #run in production mode