daemons 10.0.10

daemons is a ruby script that provides an easy way to wrap existing ruby scripts to be run as a daemon.

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
GPL (GNU General Public License) 
USER RATING:
3.9/5 14
DEVELOPED BY:
Thomas Uehlinger
HOMEPAGE:
daemons.rubyforge.org
CATEGORY:
ROOT \ Programming \ Interpreters
daemons is a ruby script that 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. daemons can also run and control blocks of Ruby code in a daemon process.

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.

Requirements:

Ruby

INSTALLATION:

Installation with RubyGems:
$ su
# gem install daemons

Installation without RubyGems:
$ tar xfz daemons-x.x.x.tar.gz
$ cd daemons-x.x.x
$ su
# ruby setup.rb

What's New in This Release:

By default, we now delete stray pid-files (i.e. pid-files which result for example from a killed daemon) automatically. This function can be deactivated by passing :keep_pid_files => true as an option.
All pid files of :multiple daemons new get deleted correctly upon exit of the daemons (reported by Han Holl).
Use the signal 'KILL' instead of 'TERM' on Windows platforms.
Use exit! in trap('TERM') instead of exit when option :hard_exit is given (thanks to Han Holl).
Did some clarification on the exception log.

Last updated on April 29th, 2008

#system daemon #ruby module #script wrapper #script #wrapper #system #daemon

Add your review!

SUBMIT