Sha256: 9a34fdfe5099932a7ada1cc8a966c15e1c879ea212a887e65eb7c64a79e9ddab
Contents?: true
Size: 573 Bytes
Versions: 10
Compression:
Stored size: 573 Bytes
Contents
require 'cap_recipes/tasks/utilities.rb' 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 run "touch #{current_path}/tmp/restart.txt" end end end
Version data entries
10 entries across 10 versions & 2 rubygems