Sha256: 0dfb0908ecb7e2b8bdcaf10c0b8a742eabf82278ea602cd2e7c013e3bfd4de48

Contents?: true

Size: 445 Bytes

Versions: 8

Compression:

Stored size: 445 Bytes

Contents

module ProconBypassMan
  module RemoteAction
    module RemotePbmJob
      class StopPbmJob < BaseAction

        def action_content(_args)
          ProconBypassMan.logger.info "execute StopPbmJob!"
          Process.kill("TERM", ProconBypassMan.pid)
        end

        private

        def before_action_callback
          be_processed
        end

        def after_action_callback
          # no-op
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
procon_bypass_man-0.3.12 lib/procon_bypass_man/remote_action/remote_pbm_job/stop_pbm_action.rb
procon_bypass_man-0.3.11 lib/procon_bypass_man/remote_action/remote_pbm_job/stop_pbm_action.rb
procon_bypass_man-0.3.10 lib/procon_bypass_man/remote_action/remote_pbm_job/stop_pbm_action.rb
procon_bypass_man-0.3.9 lib/procon_bypass_man/remote_action/remote_pbm_job/stop_pbm_action.rb
procon_bypass_man-0.3.8.1 lib/procon_bypass_man/remote_action/remote_pbm_job/stop_pbm_action.rb
procon_bypass_man-0.3.8 lib/procon_bypass_man/remote_action/remote_pbm_job/stop_pbm_action.rb
procon_bypass_man-0.3.7 lib/procon_bypass_man/remote_action/remote_pbm_job/stop_pbm_action.rb
procon_bypass_man-0.3.6 lib/procon_bypass_man/remote_action/remote_pbm_job/stop_pbm_action.rb