Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/chef
diff options
context:
space:
mode:
authorRaphael <raphael@joindiaspora.com>2010-11-25 02:38:13 +0300
committerRaphael <raphael@joindiaspora.com>2010-11-25 02:38:17 +0300
commitbc1b64ced1f542ddc5ffebecae657cea7882b8ec (patch)
treeec4093deca30f7cfb499cfb63b743019ce6cf066 /chef
parented3596908490e3306a06852113f47f405473f1a7 (diff)
Fix magent run command
Diffstat (limited to 'chef')
-rw-r--r--chef/cookbooks/common/recipes/daemontools.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef/cookbooks/common/recipes/daemontools.rb b/chef/cookbooks/common/recipes/daemontools.rb
index 6568571e5..eb4555b4c 100644
--- a/chef/cookbooks/common/recipes/daemontools.rb
+++ b/chef/cookbooks/common/recipes/daemontools.rb
@@ -43,7 +43,7 @@ execute "executable" do
end
execute "magent run" do
- command "mkdir -p /service/magent && echo '#!/bin/sh' > /service/magent/run && echo 'cd /usr/local/app/diaspora && RAILS_ENV=production exec /usr/local/bin/ruby /usr/local/bin/magent start --log-path=log/' >> /service/magent/run"
+ command "mkdir -p /service/magent && echo '#!/bin/sh' > /service/magent/run && echo 'cd /usr/local/app/diaspora && RAILS_ENV=production exec /usr/local/bin/bundle exec /usr/local/bin/magent start --log-path=log/' >> /service/magent/run"
end
execute "executable" do
command "chmod -R 755 /service/magent"