Sha256: a61f032abe51722b9e67721b64207eaace7e8a24692aa081b23644b4c2e1750a
Contents?: true
Size: 526 Bytes
Versions: 2
Compression:
Stored size: 526 Bytes
Contents
Capistrano::Configuration.instance(:must_exist).load do set :use_mod_rewrite, false load 'config/deploy' namespace :passenger do [:start, :stop].each do |t| task t, :roles => :app do puts "The :#{t} task no effect when using Passenger as your application server." end end desc <<-DESC Restart the Passenger processes on the app server by touching tmp/restart.txt. DESC task :restart, :roles => :app do run "touch #{current_path}/tmp/restart.txt" end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
railsmachine-railsmachine-1.0.3 | lib/railsmachine/recipes/app/passenger.rb |
railsmachine-1.0.3 | lib/railsmachine/recipes/app/passenger.rb |