Sha256: 3685ca4a4f363d48365e4770a23cc51ebf30818a2a85aaf66411e6852126fd87
Contents?: true
Size: 573 Bytes
Versions: 9
Compression:
Stored size: 573 Bytes
Contents
configuration = Capistrano::Configuration.respond_to?(:instance) ? Capistrano::Configuration.instance(:must_exist) : Capistrano.configuration(:must_exist) configuration.load do namespace :deploy do desc "Restart the web server" task :restart, :roles => :app do run "lighty restart >/dev/null 2>&1" end desc "Stop the web server" task :stop, :roles => :app do run "lighty stop >/dev/null 2>&1" end desc "Start the web server" task :start, :roles => :app do run "lighty start >/dev/null 2>&1" end end end
Version data entries
9 entries across 9 versions & 1 rubygems