Permalink
Browse files

Work-in-progress

  • Loading branch information...
1 parent 7a9749c commit 4b47d8ac14632bc4ed76427557f4214e7672a8c2 John Carney committed May 27, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 config/deploy.rb
  2. 0 config/deploy/{load.rb → loadtest.rb}
View
@@ -2,7 +2,7 @@
require "bundler/capistrano"
set :default_stage, "devint"
-set :stages, %w{ devint busprev load prod }
+set :stages, %w{ devint busprev loadtest prod }
require "capistrano/ext/multistage"
@@ -13,12 +13,14 @@
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none`
set :user, "johnc"
+set :deploy_to, "/var/www/html/apps/#{application}"
set :deploy_via, :remote_cache
+set :use_sudo, true
namespace :deploy do
task :start do ; end
task :stop do ; end
- task :restart, :roles => :app, :except => { :no_release => true } do
+ task :restart, :roles => :web, :except => { :no_release => true } do
run "#{try_sudo} touch #{File.join(current_path,'tmp','restart.txt')}"
end
end
File renamed without changes.

0 comments on commit 4b47d8a

Please sign in to comment.