Sha256: 4b046294a3aa0e2b0e8c16f1d74a5181511b0adf9751dbcd7cc3340794b81602
Contents?: true
Size: 491 Bytes
Versions: 6
Compression:
Stored size: 491 Bytes
Contents
Capistrano::Configuration.instance(:must_exist).load do namespace :tomcat do desc "Start tomcat" task :start, :roles => :app, :only => {:tomcat => true} do sudo "/etc/init.d/tomcat start" end desc "Stop tomcat" task :stop, :roles => :app, :only => {:tomcat => true} do sudo "/etc/init.d/tomcat stop" end desc "Restart tomcat" task :restart, :roles => :app, :only => {:tomcat => true} do sudo "/etc/init.d/tomcat restart" end end end
Version data entries
6 entries across 6 versions & 1 rubygems