~michaelforrest/use-case-mapper/trunk

« back to all changes in this revision

Viewing changes to vendor/rails/activesupport/lib/active_support/core_ext/kernel/daemonizing.rb

  • Committer: Richard Lee (Canonical)
  • Date: 2010-10-15 15:17:58 UTC
  • mfrom: (190.1.3 use-case-mapper)
  • Revision ID: richard.lee@canonical.com-20101015151758-wcvmfxrexsongf9d
Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
module Kernel
2
 
  # Turns the current script into a daemon process that detaches from the console.
3
 
  # It can be shut down with a TERM signal.
4
 
  def daemonize
5
 
    Process.daemon
6
 
  end
7
 
end