Sha256: 2ae6941b94b9e75e45ae125a8033453e6bee3ab80e8cb2363bc235e84c287513
Contents?: true
Size: 589 Bytes
Versions: 35
Compression:
Stored size: 589 Bytes
Contents
Capistrano::Configuration.instance(true).load do namespace :deploy do desc "Stops the phusion passenger server" task :stop, :roles => :web do puts "Stopping rails web server" apache.stop end desc "Starts the phusion passenger server" task :start, :roles => :web do puts "Starting rails web server" apache.start end desc "Restarts the phusion passenger server" task :restart, :roles => :web do puts "Restarting passenger by touching restart.txt" run "touch #{current_path}/tmp/restart.txt" end end end
Version data entries
35 entries across 35 versions & 2 rubygems