openbsd-ports/devel/ruby-daemon_controller/Makefile
jeremy 4c4ceaa5d1 Import ruby-daemon_controller 0.2.6
daemon_controller is a library for starting and stopping specific
daemons programmatically in a robust, race-condition-free manner.

It's not a daemon monitoring system like God or Monit. It's also not a
library for writing daemons.

It provides the following functionality:

    Starting daemons. If the daemon fails to start then an exception
    will be raised. daemon_controller can even detect failures that
    occur after the daemon has already daemonized.

    Starting daemons is done in a race-condition-free manner. If another
    process using daemon_controller is trying to start the same daemon,
    then daemon_controller will guarantee serialization.

    daemon_controller also raises an exception if it detects that the
    daemon is already started.

    Connecting to a daemon, starting it if it's not already started.
    This too is done in a race-condition-free manner. If the daemon
    fails to start then an exception will be raised.

    Stopping daemons.

    Checking whether a daemon is running.

OK ajacoutot@
2011-11-17 15:33:29 +00:00

26 lines
541 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/11/17 15:33:29 jeremy Exp $
COMMENT = robust daemon management
DISTNAME = daemon_controller-0.2.6
CATEGORIES = devel
HOMEPAGE = https://github.com/FooBarWidget/daemon_controller
MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/ruby
CONFIGURE_STYLE = ruby gem
MODRUBY_REGRESS = rspec2
MODRUBY_REGRESS_TARGET = spec/daemon_controller_spec.rb
.include <bsd.port.mk>