Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed stuff from deploy script

  • Loading branch information...
commit da56401253bd8e21c2efeb9bf534ed025ec5909c 1 parent 4e8de69
@nhocki authored
Showing with 1 addition and 32 deletions.
  1. +1 −32 config/deploy.rb
View
33 config/deploy.rb
@@ -9,9 +9,6 @@
set :deploy_via, :checkout
set :rails_env, "production"
-# ssh_options[:forward_agent] = true
-# default_run_options[:pty] = true
-
set :deploy_to, "/home/#{user}/capistrano/tropicos"
role :app, "nhocki.com"
@@ -21,32 +18,4 @@
set :keep_releases, 3
-set :global_shared_files, %w()
-
-namespace :passenger do
- desc "Restart Application"
- task :restart, :roles => :app do
- run "touch #{current_path}/tmp/restart.txt"
- end
-end
-
-namespace :deploy do
- desc "Restart the Passenger system."
- task :restart, :roles => :app do
- passenger.restart
- end
-
-
- desc 'Symlink shared configs and folders on each release.'
- task :symlink_shared do
- global_shared_files.each do |shared_file|
- run "rm -rf #{release_path}/#{shared_file}"
- run "ln -nfs #{shared_path}/#{shared_file} #{release_path}/#{shared_file}"
- end
- end
-
- desc "Install missing gems in production env"
- task :install_gems do
- run "cd #{release_path} && rake gems:install RAILS_ENV=production"
- end
-end
+set :global_shared_files, %w()
Please sign in to comment.
Something went wrong with that request. Please try again.