diff options
author | Raphael <raphael@joindiaspora.com> | 2010-11-25 02:38:13 +0300 |
---|---|---|
committer | Raphael <raphael@joindiaspora.com> | 2010-11-25 02:38:17 +0300 |
commit | bc1b64ced1f542ddc5ffebecae657cea7882b8ec (patch) | |
tree | ec4093deca30f7cfb499cfb63b743019ce6cf066 /chef | |
parent | ed3596908490e3306a06852113f47f405473f1a7 (diff) |
Fix magent run command
Diffstat (limited to 'chef')
-rw-r--r-- | chef/cookbooks/common/recipes/daemontools.rb | 2 |
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" |