projects
/
feedcatcher.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merged updates from trunk into stable branch
[feedcatcher.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
+++ 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