From 0b5bf40a8df824f967223f58c9d9f9ef6c33ca86 Mon Sep 17 00:00:00 2001 From: Raphael <raphael@joindiaspora.com> Date: Thu, 2 Dec 2010 10:40:12 -0800 Subject: [PATCH] Finish resque-web run line --- chef/cookbooks/common/recipes/daemontools.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chef/cookbooks/common/recipes/daemontools.rb b/chef/cookbooks/common/recipes/daemontools.rb index c8d9264892..2dc18e3d3e 100644 --- a/chef/cookbooks/common/recipes/daemontools.rb +++ b/chef/cookbooks/common/recipes/daemontools.rb @@ -73,7 +73,7 @@ execute "executable" do end execute "resque web run" do - command "mkdir -p /service/resque_web && echo '#!/bin/sh' > /service/resque_web/run && echo 'exec resque-web' >> /service/resque_web/run" + command "mkdir -p /service/resque_web && echo '#!/bin/sh' > /service/resque_web/run && echo 'RAILS_ENV=production HOME=/usr/local/app/diaspora exec resque-web -F' >> /service/resque_web/run" end execute "executable" do -- GitLab