mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
ad4f267b7a
search.cpan.org is shutting down. It will redirect to metacpan.org after June 25, 2018. With hat: perl
11 lines
529 B
Plaintext
11 lines
529 B
Plaintext
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.
|
|
|
|
WWW: https://metacpan.org/release/Daemon-Control
|