Sha256: 7e3a029f362d99e4891dead186e8ff1dc5adfc2c9d67438686cb90129b040260
Contents?: true
Size: 285 Bytes
Versions: 18
Compression:
Stored size: 285 Bytes
Contents
module ProconBypassMan::SignalHandler def handle_signal(sig) ProconBypassMan.logger.info "#{$$}で#{sig}を受け取りました" case sig when 'USR2' raise ProconBypassMan::Runner::InterruptForRestart when 'INT', 'TERM' raise Interrupt end end end
Version data entries
18 entries across 18 versions & 1 rubygems