Skip to content

Commit

Permalink
Merge branch 'COOK-542'
Browse files Browse the repository at this point in the history
  • Loading branch information
schisamo committed May 3, 2011
2 parents 6d86e6b + 70f36c4 commit 8005561
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion application/recipes/gunicorn.rb
Expand Up @@ -47,7 +47,7 @@
end

if ::File.exists?(::File.join(app['deploy_to'], "current"))
d = resources(:deploy => app['id'])
d = resources(:deploy_revision => app['id'])
d.restart_command do
execute "/etc/init.d/#{app['id']} hup"
end
Expand Down
2 changes: 1 addition & 1 deletion application/recipes/passenger_apache2.rb
Expand Up @@ -40,7 +40,7 @@
rails_env node.app_environment
end

d = resources(:deploy => app['id'])
d = resources(:deploy_revision => app['id'])
d.restart_command do
service "apache2" do action :restart; end
end
Expand Down
2 changes: 1 addition & 1 deletion application/recipes/unicorn.rb
Expand Up @@ -46,7 +46,7 @@
end

if ::File.exists?(::File.join(app['deploy_to'], "current"))
d = resources(:deploy => app['id'])
d = resources(:deploy_revision => app['id'])
d.restart_command do
execute "/etc/init.d/#{app['id']} hup"
end
Expand Down

0 comments on commit 8005561

Please sign in to comment.