Class: ProconBypassMan::RemoteAction::RemotePbmJob::StopPbmJob
- Inherits:
-
BaseAction
- Object
- BaseAction
- ProconBypassMan::RemoteAction::RemotePbmJob::StopPbmJob
- Defined in:
- lib/procon_bypass_man/remote_action/remote_pbm_job/stop_pbm_action.rb
Instance Attribute Summary
Attributes inherited from BaseAction
Instance Method Summary collapse
Methods inherited from BaseAction
Constructor Details
This class inherits a constructor from ProconBypassMan::RemoteAction::RemotePbmJob::BaseAction
Instance Method Details
#action_content(_args) ⇒ Object
6 7 8 9 |
# File 'lib/procon_bypass_man/remote_action/remote_pbm_job/stop_pbm_action.rb', line 6 def action_content(_args) ProconBypassMan.logger.info "execute StopPbmJob!" Process.kill("TERM", ProconBypassMan.pid) end |