# If you aren't deploying to /u/apps/#{application} on the target # servers (which is the default), you can specify the actual location # via the :deploy_to variable: set :deploy_to, "/var/www/#{application}" # If you aren't using Subversion to manage your source code, specify # your SCM below: set :scm, :git set :repository, "git@github.com:jgilstrap/jwt-extranet.git" set :branch, "master" set :deploy_via, :remote_cache set :user, 'jgilstrap' set :ssh_options, { :port => 6500, :forward_agent => true } role :app, "m3" role :web, "m3" role :db, "m3", :primary => true namespace :deploy do desc "Restarting mod_rails with restart.txt" task :restart, :roles => :app, :except => { :no_release => true } do run "touch #{current_path}/tmp/restart.txt" end [:start, :stop].each do |t| desc "#{t} task is a no-op with mod_rails" task t, :roles => :app do ; end end end