Sha256: 792e6f6ad5294c98bf2dbed3cd3b6d1077b3a51b4b5e9b817270a58c7d8750a9
Contents?: true
Size: 655 Bytes
Versions: 8
Compression:
Stored size: 655 Bytes
Contents
Capistrano::Configuration.instance(:must_exist).load do # Override default start/stop/restart tasks for Passenger namespace :deploy do desc <<-DESC Overrides the default Capistrano deploy:start. DESC task :start, :roles => :web do run "touch #{current_release}/tmp/restart.txt" end desc <<-DESC Overrides the default Capistrano deploy:stop. DESC task :stop, :roles => :web do # Do nothing, end desc <<-DESC Overrides the default Capistrano deploy:restart. DESC task :restart, :roles => :web do run "touch #{current_release}/tmp/restart.txt" end end end
Version data entries
8 entries across 8 versions & 5 rubygems