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