BSD Ports

devel/p5-Daemon-Control 0.001010 DragonFly

Create init scripts in Perl

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
19.9 KiB, 47.2 KiB installed

Description

Daemon::Control provides a library for creating init scripts in perl. Your perl script just needs to set the accessors for what and how you want something to run and the library takes care of the rest.

You can launch programs through the shell (/usr/sbin/my_program) or launch Perl code itself into a daemon mode. Single and double fork methods are supported and in double-fork mode all the things you would expect like reopening STDOUT/STDERR, switching UID/GID are supported.

In the other systems

SystemPortVersion
DragonFlydevel/p5-Daemon-Control0.001010
FreeBSDdevel/p5-Daemon-Control0.001010
HardenedBSDdevel/p5-Daemon-Control0.001010
GhostBSDdevel/p5-Daemon-Control0.001010

Install

Binary package:

pkg install p5-Daemon-Control

From DPorts:

cd /usr/dports/devel/p5-Daemon-Control && make install clean

Dependencies

Run dependencies 1