./misc/ruby-daemons, Toolkit to convert Ruby scripts to a daemon

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2.4, Package name: ruby22-daemons-1.2.4, Maintainer: minskim

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. You can also call blocks as daemons
and control them from the parent or just daemonize the current 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.


Required to run:
[lang/ruby22-base]

Master sites:

SHA1: 16fb25333360a10a2bcb21baebc764a01c9c6261
RMD160: cee1cd9c67cb76848110edbe3f01cb37c7f2d058
Filesize: 27.5 KB

Version history: (Expand)


CVS history: (Expand)


   2016-10-15 17:10:32 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-daemons to 1.2.4.

== Release 1.2.4: August 1, 2016

* add :shush option
* add :monitor_interval option
* add :log_output_syslog option
   2015-11-04 00:49:56 by Alistair G. Crooks | Files touched by this commit (330)
Log message:
Add SHA512 digests for distfiles for misc category

Problems found locating distfiles:
	Package colorls: missing distfile ls.tar.gz
	Package molden: missing distfile molden-4.6/molden4.6.tar.gz
	Package softmaker-office-demo: missing distfile ofl06trial.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-09-26 17:09:44 by Takahiro Kambe | Files touched by this commit (1) | Package updated
Log message:
Update HOMEPAGE.
Avoid using rubyforge.org since it stopped most of services.
   2015-09-13 16:43:40 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-daemons to 1.2.3.

== Release 1.2.3: June 25, 2015

* fix: ApplicationGroup now waits on subprocesses in start_all (thanks to tobithiel)
   2015-06-07 17:57:05 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-daemons to 1.2.2.

== Release 1.2.2: March 17, 2015

* fix 100% CPU usage bug when using monitor mode.
   2015-03-13 15:36:09 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-daemons to 1.2.1.

== Release 1.2.1: March 10, 2015

* increase version number to be able to re-push to rubygems

== Release 1.2.0: March 8, 2015

* add options for custum log file names.
* change pid file name scheme to "#progname_num#{number}.pid" for \ 
multiple instances.
* fix call_as_daemon not saving the PID (thanks Roberto Plancarte)
* allow for custom statis messages (thanks to Joseph Haig)
* fix Pid.running? rescuing timeout exceptions (thanks to Geraud Boyer)
* monitor.rb/application.rb/application_group.rb: handle :monitor and :multiple \ 
in combination correctly
  (thanks to Prakash Murthy).
* pidfile.rb: Handle invalid or empty pid files instead of returning pid 0 \ 
(thanks to Aaron Stone)
* run the whole gem through Rubocop (thanks to Aaron Stone)
* gem cleanup (thanks to Aaron Stone)
   2012-08-12 23:44:01 by Emile iMil Heitor | Files touched by this commit (3)
Log message:
Release 1.1.9: August 10, 2012
	daemonize.rb: do srand in the forked child process both in daemonize
	and call_as_daemon (thanks to Andrew Havens).
   2012-03-17 17:18:12 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-daemons to 1.1.8.

= Daemons Release History

== Release 1.1.8: February 7, 2012

* rename to daemonization.rb to daemonize.rb (and Daemonization to Daemonize) to
  ensure compatibility.

== Release 1.1.7: February 6, 2012

* start_proc: Write out the PID file in the newly created proc to avoid race \ 
conditions.
* daemonize.rb: remove to simplify licensing (replaced by daemonization.rb).

== Release 1.1.6: January 18, 2012

* Add the :app_name option for the "call" daemonization mode.

== Release 1.1.5: December 19, 2011

* Catch the case where the pidfile is empty but not deleted
  and restart the app (thanks to Rich Healey)