instiki/vendor/rails/activesupport/lib/active_support/core_ext/kernel/daemonizing.rb

8 lines
186 B
Ruby
Raw Normal View History

2007-01-22 14:43:50 +01:00
module Kernel
# Turns the current script into a daemon process that detaches from the console.
# It can be shut down with a TERM signal.
def daemonize
Process.daemon
2007-01-22 14:43:50 +01:00
end
end