Class: SesProxy::StopCommand
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- SesProxy::StopCommand
- Defined in:
- lib/ses_proxy/main_command.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
143 144 145 146 147 148 149 150 |
# File 'lib/ses_proxy/main_command.rb', line 143 def execute = {:app_name => "ses_proxy", :dir_mode=>:normal, :dir=>pid_dir, :multiple=>true} group = Daemons::ApplicationGroup.new('ses_proxy', ) group.setup group.applications.each do |application| application.stop end end |