Skip to content

Instantly share code, notes, and snippets.

@PavelPenkov
Created March 1, 2011 11:45
Show Gist options
  • Save PavelPenkov/849019 to your computer and use it in GitHub Desktop.
Save PavelPenkov/849019 to your computer and use it in GitHub Desktop.
set :application, "OohForYou"
set :repository, "/Users/synapse/projects/OohForYou"
set :scm, :mercurial
set :deploy_to, '/u/domains/ooh4you.net'
set :deploy_via, :copy
role :web, "89.185.229.183" # Your HTTP server, Apache/etc
role :app, "89.185.229.183"
role :db, "89.185.229.183", :primary => true
namespace :deploy do
task :start do ; end
task :stop do ; end
task :restart, :roles => :app, :except => { :no_release => true } do
run "touch #{File.join(current_path,'tmp','restart.txt')}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment