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

Version Path
apphunkd-0.13.0 libexec/apphunkd-daemon.rb
apphunkd-0.12.2 libexec/apphunkd-daemon.rb
apphunkd-0.12.1 libexec/apphunkd-daemon.rb
apphunkd-0.12.0 libexec/apphunkd-daemon.rb
apphunkd-0.11.1 libexec/apphunkd-daemon.rb
apphunkd-0.11.0 libexec/apphunkd-daemon.rb
apphunkd-0.10.1 libexec/apphunkd-daemon.rb
apphunkd-0.10.0 libexec/apphunkd-daemon.rb
apphunkd-0.9.2 libexec/apphunkd-daemon.rb
apphunkd-0.9.1 libexec/apphunkd-daemon.rb
apphunkd-0.9.0 libexec/apphunkd-daemon.rb