RubyGems Navigation menu

daemons-mikehale 1.0.12.4

This is Daemons 1.0.10 with the addition of Chris Kline's fix from http://blog.rapleaf.com/dev/?p=19 Includes ability to change the process uid/gid. Also logdir can be specified seperate from piddir. Daemons provides an easy way to wrap existing ruby scripts (for example a self-written server) to be run as a daemon and to be controlled by simple start/stop/restart commands. If you want, you can also use daemons to run blocks of ruby code in a daemon process and to control these processes from the main application. Besides this basic functionality, daemons offers many advanced features like exception backtracing and logging (in case your ruby script crashes) and monitoring and automatic restarting of your processes if they crash. Daemons includes the daemonize.rb script written by Travis Whitton to do the daemonization process.

Gemfile
          gem 'daemons-mikehale', '~> 1.0.12.4'
  
  
  
  
  
  
  

install
          gem install daemons-mikehale -v 1.0.12.4
  
  
  
  
  
  
  

Authors:

  • Michael Hale, Thomas Uehlinger, Travis Whitton, Chris Kline

Owners:

Total downloads 12,683

For this version 1,819

Required Ruby Version: None

Links:

Versions:

  1. 1.0.14 - January 24, 2010 (33 KB)
  2. 1.0.13 - January 24, 2010 (33 KB)
  3. 1.0.12.4 - January 15, 2010 (33 KB)