<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>Capfile</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,20 +1,28 @@
-set :application, &quot;idroppedie6&quot;
+set :application, &quot;idroppedie6.com&quot;
 set :domain,      &quot;bopia&quot;
-set :deploy_to,   &quot;/var/rails/#{application}&quot;
-set :scm,         &quot;git&quot;
 set :repository,  &quot;git@github.com:brupm/idroppedie6.git&quot;
+set :deploy_to,   &quot;/data/rails/#{application}&quot;
+set :scm, :git
 
+set :user, &quot;deploy&quot;
+set :deploy_via, :remote_cache
+set :use_sudo, false
 
-set :mongrel_port, 8080
-set :mongrel_servers, 1
+role :app, domain
+role :web, domain
+role :db,  domain, :primary =&gt; true
 
+namespace :deploy do
 
-namespace :vlad do
-  desc 'Runs vlad:update, vlad:symlink, vlad:migrate and vlad:start'
-  task :deploy =&gt; ['vlad:update', 'vlad:symlink', 'vlad:migrate', 'vlad:stop_app', 'vlad:start_app','vlad:cleanup']
+  desc &quot;Symlink shared configs and folders on each release.&quot;
+  task :symlink_shared do
+    run &quot;ln -nfs #{shared_path}/database.yml #{release_path}/config/database.yml&quot;
+  end
 
-  desc 'Symlinks your custom directories'
-  remote_task :symlink, :roles =&gt; :app do
-    run &quot;ln -s #{shared_path}/database.yml #{current_release}/config/database.yml&quot;
+  desc &quot;Restarting mod_rails with restart.txt&quot;
+  task :restart, :roles =&gt; :app, :except =&gt; { :no_release =&gt; true } do
+    run &quot;touch #{current_path}/tmp/restart.txt&quot;
   end
 end
+
+after 'deploy:update_code', 'deploy:symlink_shared'
\ No newline at end of file</diff>
      <filename>config/deploy.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>vlad/nginx.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>a33667da53b7f55ed3a79bb2b0c7981da8048a86</id>
    </parent>
  </parents>
  <author>
    <name>Bruno Miranda</name>
    <email>bruno@bopia.com</email>
  </author>
  <url>http://github.com/brupm/idroppedie6/commit/02ba4456a3df5788450ff1c0016bb5b00f50662e</url>
  <id>02ba4456a3df5788450ff1c0016bb5b00f50662e</id>
  <committed-date>2009-10-03T18:33:50-07:00</committed-date>
  <authored-date>2009-10-03T18:33:50-07:00</authored-date>
  <message>Adding cap deploy files</message>
  <tree>9eb1d845810b3fe3f24d9940af0e6d66abcca194</tree>
  <committer>
    <name>Bruno Miranda</name>
    <email>bruno@bopia.com</email>
  </committer>
</commit>
