Froze rails gems
[depot.git] / vendor / rails / activesupport / lib / active_support / core_ext / kernel / daemonizing.rb
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 (file)
index 0000000..ed9d1f9
--- /dev/null
@@ -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