Sha256: 77b3915de2b7f39318bfa756b0ca04f54fec7b85cf7ddf278000d121921a14d4

Contents?: true

Size: 337 Bytes

Versions: 1

Compression:

Stored size: 337 Bytes

Contents

module ProconBypassMan
  module RemotePbmAction
    class StopPbmAction < BaseAction

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

      private

      def before_action_callback
        be_processed
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
procon_bypass_man-0.1.14 lib/procon_bypass_man/remote_pbm_action/stop_pbm_action.rb