Easy way to convert selfwritten servers into daemons

Edit Package rubygem-daemons

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.

Authors:
--------
Thomas Uehlinger

Refresh
Refresh
Source Files
Filename Size Changed
daemons-1.2.5.gem 0000028672 28 KB
gem2rpm.yml 0000001632 1.59 KB
rubygem-daemons.changes 0000006614 6.46 KB
rubygem-daemons.spec 0000002177 2.13 KB
Revision 21 (latest revision is 29)
Manuel Schnitzer's avatar Manuel Schnitzer (mschnitzer) accepted request 535848 from Manuel Schnitzer's avatar Manuel Schnitzer (mschnitzer) (revision 21)
- updated to version 1.2.5
  == Release 1.2.5: October 22, 2017
  * In Application#stop, call zap, not cleanup on the pidfile (thanks to wevanscfi)
  * Use File.expand_path on and output and log files (thanks to Dave Harris)
Comments 0
openSUSE Build Service is sponsored by