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