summaryrefslogtreecommitdiff
path: root/misc/ruby-daemons
AgeCommit message (Collapse)AuthorFilesLines
2008-04-04Update ruby-daemons to version 1.0.10. Changes from version 1.0.8 include:jlam4-29/+63
+ Install as a Ruby gem. - Fixed a severe bug in the new Pid.running? function: function returned true if the process did not exist. - 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. - Use the signal 'KILL' instead of 'TERM' on Windows platforms. - Use exit! in trap('TERM') instead of exit when option :hard_exit is given. - Did some clarification on the exception log.
2007-10-16Update ruby-daemons to 1.0.8.minskim2-7/+7
Changes: * new Pid.running? function. Checking whether a process exists by sending signal '0' * Patch to fix wrong ARGV when using :exec (in def start_exec: Kernel.exec(script(), *(@app_argv || [])))
2007-05-23Update ruby-daemons to 1.0.6.minskim2-7/+7
Changes: * New option to pass an ARGV-style array to run and run_proc * Additional patches for '/var/log'
2007-04-27Update ruby-daemons to 1.0.5.minskim2-7/+7
Changes: * Applied patch that causes daemons to use '/var/log' as logfile directory if you use :dir_mode = :system (thanks to Han Holl). * Daemons should now work with Ruby 1.9 (at least the basic features).
2007-02-04Update ruby-daemons to 1.0.4.minskim2-7/+7
Changes since 1.0.2: * Document the :log_output option. * Set STDOUT.sync = true when redirecting to a logfile. * Should now run also correctly when there is no working 'ps ax' on the system * Set the app_name correctly also for the monitor process.
2006-10-14Import ruby-daemons-1.0.2.minskim4-0/+38
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. daemons can also run and control blocks of Ruby code in a daemon process.