Sha256: e6666782cdd037e02bab8c085998b6b8b04efb7196cac8fdca6240287bde77cb
Contents?: true
Size: 995 Bytes
Versions: 2
Compression:
Stored size: 995 Bytes
Contents
###################################################################### # PASSENGER TASKS # ###################################################################### Capistrano::Configuration.instance(:must_exist).load do namespace :deploy do desc <<-DESC There is no way to start the application via Passenger. This task does nothing. DESC task :start do ; end desc <<-DESC There is no way to stop the application via Passenger. This task does nothing. DESC task :stop do ; end desc <<-DESC Starts/Restarts the application. Passenger knows when you'd like to reset by looking at a file in the `tmp` directory called `restart.txt`. If the Last Access time for `restart.txt` changes, Passenger restarts the app. DESC task :restart, :except => { :no_release => true } do run "touch #{File.join( current_path, 'tmp', 'restart.txt' )}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chicken_soup-0.3.0 | lib/chicken_soup/capabilities/passenger/passenger-tasks.rb |
chicken_soup-0.2.0 | lib/chicken_soup/capabilities/passenger/passenger-tasks.rb |