<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -8,12 +8,12 @@ set :deploy_to, &quot;/home/#{user}/railsapp/#{application}&quot;
 
 namespace :deploy do
   task :restart, :roles =&gt; :app do
-    send(:run, &quot;cd #{deploy_to}/#{current_dir} &amp;&amp; mongrel_rails stop &amp;&amp; sleep 1s &amp;&amp; rm -f log/mongrel.pid &amp;&amp; mongrel_rails start -e production -p 12003 -d&quot;)
+    run &quot;touch #{current_path}/tmp/restart.txt&quot;
   end
 end
 
 task :after_update_code, :roles =&gt; :app do
-  # run &quot;cp #{deploy_to}/shared/database.yml #{release_path}/config/database.yml&quot;
+  run &quot;cp #{deploy_to}/shared/database.yml #{release_path}/config/database.yml&quot;
   run &quot;cd #{release_path} &amp;&amp; rake db:migrate RAILS_ENV=production&quot;
   run &quot;chmod 755 #{release_path}/public -R&quot;
   run &quot;rm -Rf #{release_path}/public/podcasts&quot;</diff>
      <filename>config/deploy.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6ff3adb7c4a08a8fe4c8af6c909d89d6d5817b80</id>
    </parent>
  </parents>
  <author>
    <name>Tapaj&#243;s</name>
    <email>tapajos@gmail.com</email>
  </author>
  <url>http://github.com/tapajos/podcast/commit/615018b279b48184aae68611b632b44557f9914d</url>
  <id>615018b279b48184aae68611b632b44557f9914d</id>
  <committed-date>2008-09-02T18:34:05-07:00</committed-date>
  <authored-date>2008-09-02T18:34:05-07:00</authored-date>
  <message>Acertando o deploy para usar Passenger e para copiar o database corretamente.</message>
  <tree>136a5437f3e9194a9ae907bfe5f561237449b2b6</tree>
  <committer>
    <name>Tapaj&#243;s</name>
    <email>tapajos@gmail.com</email>
  </committer>
</commit>
