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