Sha256: 12b0bb7cacc45461d8530c4bdb637702b7ef4a184e7e582219516d4bb42391d0
Contents?: true
Size: 389 Bytes
Versions: 11
Compression:
Stored size: 389 Bytes
Contents
# Do your post daemonization configuration here # At minimum you need just the first line (without the block), or a lot # of strange things might start happening... DaemonKit::Application.running! do |config| # Trap signals with blocks or procs # config.trap( 'INT' ) do # # do something clever # end # config.trap( 'TERM', Proc.new { puts 'Going down' } ) end Apphunkd.run!
Version data entries
11 entries across 11 versions & 1 rubygems