Any::Daemon is a Perl module that delivers the basic needs for any daemon on UNIX systems. There are other standard daemon implementations available on CPAN, with as main common difference that this module is not dedicated to a specific task. By using Log::Report, you can easily redirect error reports to any logging mechanism you like.
The code for this module is in use for many different daemons, some with heavy load (a few dozen requests per second) Have a look in the examples directory!
SYNOPSIS
use Any::Daemon;
use Log::Report;
# Prepare a daemon for the Operating System
my $daemon = Any::Daemon->new(@os_opts);
# Start logging to syslog (see Log::Report::Dispatcher)
dispatcher SYSLOG => 'syslog';
# Run managing daemon
$daemon->run(@run_opts);
Product's homepage
Requirements:
· Perl