Release Name: 1.1.0
Notes:
This is the first somehow bigger release since quite some time. It brings the inclusion of most of the patches that were flying around in the meantime and should also fix all known bugs. Please note that starting from this release, daemons will per default wait for the daemons to die before it returns (use the option --no_wait to get the old behavior).
Changes:
== Release 1.1.0: June 20, 2010
* Honour the options[:app_name] in Daemons.daemonize (thanks to Ryan Tecco).
* Included a new option :stop_proc to specify a proc that will be called when a
daemonized process receives a request to stop (thanks to Dave Dupre).
* Only delete the pidfile if the current pid is the original pid (ghazel).
* Start when restart but no application running (pcreux).
* Silently continue if there is no pidfile (ghazel).
* We now per default wait for processes to stop and
kill them automatically it if they do not stop within a given time
(force_kill_waittime). Use the option --no_wait to not wait for processes to
stop.
* Set log files mode to 0644 (mikehale).
* Set pid file permissions to 0644 (mikehale).
* Added ability to change process uid/gid (mikehale).
* Fix for: If you happen to start a daemon from a process that has open file
descriptors these will stay open. As it is daemonize.rb only closes ruby IO
objects (thanks to Han Holl).
* New reload command (SIGHUP) (thanks to Michael Schuerig).
|