X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=vendor%2Frails%2Factivesupport%2Flib%2Factive_support%2Fcore_ext%2Fkernel%2Fdaemonizing.rb;fp=vendor%2Frails%2Factivesupport%2Flib%2Factive_support%2Fcore_ext%2Fkernel%2Fdaemonizing.rb;h=ed9d1f9bf297725811289a42504edc0c61cf70bc;hb=437aa336c44c74a30aeea16a06743c32747ed661;hp=0000000000000000000000000000000000000000;hpb=97a0772b06264134cfe38e7494f9427efe0840a0;p=feedcatcher.git diff --git a/vendor/rails/activesupport/lib/active_support/core_ext/kernel/daemonizing.rb b/vendor/rails/activesupport/lib/active_support/core_ext/kernel/daemonizing.rb new file mode 100644 index 0000000..ed9d1f9 --- /dev/null +++ b/vendor/rails/activesupport/lib/active_support/core_ext/kernel/daemonizing.rb @@ -0,0 +1,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