Sha256: 4ea3514a702b1684e2efe1f21d5c7fcde1daae69614b94cdb86ba30b57c0c937

Contents?: true

Size: 991 Bytes

Versions: 5

Compression:

Stored size: 991 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

5 entries across 5 versions & 1 rubygems

Version Path
chicken_soup-0.1.0 lib/chicken_soup/capabilities/passenger.rb
chicken_soup-0.0.5 lib/chicken_soup/capabilities/passenger.rb
chicken_soup-0.0.4 lib/chicken_soup/capabilities/passenger.rb
chicken_soup-0.0.3 lib/chicken_soup/capabilities/passenger.rb
chicken_soup-0.0.2 lib/chicken_soup/capabilities/passenger.rb