From 60ae7ff74f299c75a71554dc140e8b12358a4723 Mon Sep 17 00:00:00 2001
From: danielvincent <danielgrippi@gmail.com>
Date: Fri, 3 Dec 2010 11:52:48 -0800
Subject: [PATCH] Take magent out of chef recipes

---
 chef/cookbooks/common/recipes/daemontools.rb | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/chef/cookbooks/common/recipes/daemontools.rb b/chef/cookbooks/common/recipes/daemontools.rb
index 6d723964a2..11c742b8d4 100644
--- a/chef/cookbooks/common/recipes/daemontools.rb
+++ b/chef/cookbooks/common/recipes/daemontools.rb
@@ -42,13 +42,6 @@ execute "executable" do
   command "chmod -R 755 /service/websocket"
 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/bundle exec /usr/local/bin/magent start --log-path=/usr/local/app/diaspora/log/' >> /service/magent/run"
-end
-execute "executable" do
-  command "chmod -R 755 /service/magent"
-end
-
 execute "redis run" do
   command "mkdir -p /service/redis && echo '#!/bin/sh' > /service/redis/run && echo 'cd /usr/sbin/ && exec /usr/sbin/redis-server /usr/local/etc/redis.conf'  >> /service/redis/run"
 end
-- 
GitLab