Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # Methods to start/stop/restart passenger
- #
- namespace :deploy do
- desc "Restarting passenger"
- task :restart, :roles => :app 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
Add Comment
Please, Sign In to add comment