Changeset 102

Show
Ignore:
Timestamp:
05/05/08 23:08:09 (7 months ago)
Author:
jweiss
Message:

default value for mod_rails_restart_file

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/webistrano/template/mod_rails.rb

    r97 r102  
    3737            task :restart, :roles => :app, :except => { :no_release => true } do 
    3838              as = fetch(:runner, "app") 
    39               invoke_command "touch #{mod_rails_restart_file}", :via => run_method, :as => as 
     39              restart_file = fetch(:mod_rails_restart_file, "#{deploy_to}/current/tmp/restart.txt") 
     40              invoke_command "touch #{restart_file}", :via => run_method, :as => as 
    4041            end 
    4142          end