blob: ed9d1f9bf297725811289a42504edc0c61cf70bc (
plain) (
blame)
1
2
3
4
5
6
7
|
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
end
end
|