Sha256: b866fc027733bbff9ac56042e39f7e025d356f356b60515b1ad6b7ee6fce92e6
Contents?: true
Size: 1009 Bytes
Versions: 6
Compression:
Stored size: 1009 Bytes
Contents
Capistrano::Configuration.instance(:must_exist).load do namespace :mongrel do desc <<-DESC Start Mongrel processes on the app server. This uses the :use_sudo variable to determine whether to use sudo or not. By default, :use_sudo is set to true. DESC task :start, :roles => :app do sudo "/usr/bin/monit start all -g #{monit_group}" end desc <<-DESC Restart the Mongrel processes on the app server by starting and stopping the cluster. This uses the :use_sudo variable to determine whether to use sudo or not. By default, :use_sudo is set to true. DESC task :restart, :roles => :app do sudo "/usr/bin/monit restart all -g #{monit_group}" end desc <<-DESC Stop the Mongrel processes on the app server. This uses the :use_sudo variable to determine whether to use sudo or not. By default, :use_sudo is set to true. DESC task :stop, :roles => :app do sudo "/usr/bin/monit stop all -g #{monit_group}" end end end
Version data entries
6 entries across 6 versions & 1 rubygems