SPELL=daemons VERSION=1.0.9 SOURCE="${SPELL}-${VERSION}.tgz" SOURCE_URL[0]=http://rubyforge.org/frs/download.php/27164/${SOURCE} SOURCE_HASH=sha512:100356475fe22a4e0fc17720e883e66a594d8a8d4980917b77ecff76b9cd48ab38e97873ed9ba1d29dee1fb674fc38bbf6e8f7cc63a257685af76d6aec222ab1 SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}" WEB_SITE="http://daemons.rubyforge.org" LICENSE[0]=RUBY ENTERED=20080113 SHORT="A toolkit to convert your script to a controllable daemon" cat << EOF 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. EOF