Set the app_name correctly also for the monitor process (thanks to Ilya
Novoselov).
Release 1.0.2: September 26, 2006
Changed the ‘ps -ax’ call back to ‘ps ax’.
Fixed the documentation for the :normal :dir_mode.
As a default for Daemons.run_proc, the pid file
is now saved in the current directory.
In :ontop mode for running a proc (this is equal to calling something like
‘ruby ctrl_proc.rb run’), the proc now runs directly in the
calling script, not in a forked process anymore (thanks to Paul Butcher).
Set $0 to app_name in the daemons (thanks to Ilya Novoselov).
Release 1.0.1: August 30, 2006
Fixed a regex for parsing the ‘ps ax’ system call. (thanks to
Garance Alistair Drosehn)
Release 1.0.0: August 29, 2006
Fix the parsing of the ‘ps ax’ system call. (thanks to Garance
Alistair Drosehn)
Release 0.4.4: February 14, 2006
Several fixes that allow us to use the Daemons::Controller with a
proc instead of wrapping a script file. This gives us all the PID file
management, monitoring, command line options, etc. without having to
specify a path to our script which can be tricky, especially when using
RubyGems. (thanks to John-Mason Shackelford)
Release 0.4.3: November 29, 2005
New Option: You can specify the name of the application with :app_name on
calling Daemons.run. This
will be used to contruct the name of the pid files and log files. Defaults
to the basename of the script. (thanks to Stephen R. Veit)
Bugfix: Handle the case where no controller options are given when calling
Daemons, just options after
"—". (thanks to Stephen R. Veit)
Release 0.4.2: November 15, 2005
Bugfix for problem with :normal pid-file directory mode (pid.rb), fixed
(thanks to Stephen R. Veit)
Release 0.4.1: September 11, 2005
Bugfix for ‘run’ command line mode: didn‘t work anymore
in 0.4.0, fixed
Release 0.4.0: July 30, 2005
Two completely new operation modes:
Call a block as a daemon (Daemons.call { my_daemon_code
}) and control it from the parent process.