Sha256: fdeb19d4b986b0d7604699525b42c21564149fd70ead4d418a5c283b3e412988
Contents?: true
Size: 270 Bytes
Versions: 11
Compression:
Stored size: 270 Bytes
Contents
require 'qs/pid_file' module Qs class ProcessSignal attr_reader :signal, :pid def initialize(daemon, signal) @signal = signal @pid = PIDFile.new(daemon.pid_file).pid end def send ::Process.kill(@signal, @pid) end end end
Version data entries
11 entries across 11 versions & 1 rubygems