Sha256: 799d314c24986156c2f1f137328ae320c9ee5f59d7ea2b52efa6a3f00605572d

Contents?: true

Size: 1007 Bytes

Versions: 15

Compression:

Stored size: 1007 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, :roles => :app do ; end

    desc <<-DESC
      There is no way to stop the application via Passenger.

      This task does nothing.
    DESC
    task :stop, :roles => :app 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, :roles => :app do
      run "touch #{File.join( current_path, 'tmp', 'restart.txt' )}"
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
chicken_soup-0.9.0 lib/chicken_soup/capabilities/passenger/passenger-tasks.rb
chicken_soup-0.8.6 lib/chicken_soup/capabilities/passenger/passenger-tasks.rb
chicken_soup-0.8.5 lib/chicken_soup/capabilities/passenger/passenger-tasks.rb
chicken_soup-0.8.4 lib/chicken_soup/capabilities/passenger/passenger-tasks.rb
chicken_soup-0.8.3 lib/chicken_soup/capabilities/passenger/passenger-tasks.rb
chicken_soup-0.8.2 lib/chicken_soup/capabilities/passenger/passenger-tasks.rb
chicken_soup-0.8.1 lib/chicken_soup/capabilities/passenger/passenger-tasks.rb
chicken_soup-0.8.0 lib/chicken_soup/capabilities/passenger/passenger-tasks.rb
chicken_soup-0.6.1 lib/chicken_soup/capabilities/passenger/passenger-tasks.rb
chicken_soup-0.6.0 lib/chicken_soup/capabilities/passenger/passenger-tasks.rb
chicken_soup-0.5.3 lib/chicken_soup/capabilities/passenger/passenger-tasks.rb
chicken_soup-0.5.2 lib/chicken_soup/capabilities/passenger/passenger-tasks.rb
chicken_soup-0.5.0 lib/chicken_soup/capabilities/passenger/passenger-tasks.rb
chicken_soup-0.4.1 lib/chicken_soup/capabilities/passenger/passenger-tasks.rb
chicken_soup-0.4.0 lib/chicken_soup/capabilities/passenger/passenger-tasks.rb