BSD Ports

devel/rubygem-daemons 1.4.1 MidnightBSD

Toolkit to convert your script to a controllable daemon

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
devel, rubygems

Description

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.

In the other systems

SystemPortVersion
MidnightBSDdevel/rubygem-daemons1.4.1
FreeBSDdevel/rubygem-daemons1.4.1
DragonFlydevel/rubygem-daemons1.4.1
HardenedBSDdevel/rubygem-daemons1.4.1
GhostBSDdevel/rubygem-daemons1.4.1

Install

Binary package:

mport install daemons

From mports:

cd /usr/mports/devel/rubygem-daemons && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	daemons>0:devel/rubygem-daemons

Dependencies

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/daemons-1.4.1.gem296968fc76d76faec669feb5e455d72f35bd4c46dc6735e28c420afb822fac1fa9a1d
Master sites 1
  • RG