Changes since 0.03:
0.14 Fri Jun 03 2011
- The filename memory is now a part of the object (not a package variable
any more). This was a bug.
- Since <fork> is not performed on Windows OS as on Linux, I removed the
<eval> and <warn> from 0.13 and add an INFO to the documentation.
- Updated the documentation.
0.13 Wed Jun 01 2011
- Add ability to define the user identifier for the daemon if you want to
run it under other user then the parent (request from Holger Gläss).
- Add <eval> and <warn> for OS not supporting POSIX::setsid (e.g. Windows).
- Updated the documentation.
0.12 Tue Mai 24 2011
- Init() did not close all filehandles reliably in some cases. Thanks again
to Rob Brown for reporting.
- Text improvement in the documentation.
0.11 Mon Mai 23 2011
- Init() didn't close all filehandles reliably (see also bug report at
http://rt.perl.org/rt3/Ticket/Display.html?id=72526). Thanks to Rob Brown
for reporting and offering a patch.
- Attributes 'dont_close_fh' AND 'dont_close_fd' added so we can define
file handles and descriptors that must be preserved from the parent into
the child (daemon).
- Updated the documentation.
- In some environment it is not allowed to open anonymous files. In this
case now a 'pid_file' must be defined. Thanks to Holger Gläss for
reporting.
0.10 Fri Apr 01 2011
- Improvement how Init() determines whether it was passed a blessed object
0.09 Tue Mar 15 2011
- Fix for a possibly not reseted numbered match variable ($1).
- Typo fix and text improvement in the documentation.
0.08 Sun Mar 13 2011
- The <open> Mode of the daemon file handles STDIN, STDOUT, STDERR can be
specified now. The default Mode values are the same as before.
- Updated the documentation.
0.07 Thu Feb 17 2011
- Add signal processing to Kill_Daemon().
- Updated the documentation.
0.06 Mon Jan 17 2011
- A lot of documentation was add to the source code.
- Daemon STDIN was fixed to "read" now instead of "write".
- Replaced global filehandles with scalars.
- Add a <die> if <chdir> fails.
- Updated the documentation and add a note to the documentation about the
behavior of process-group Signals.
0.05 Thu Okt 28 2010
- Fixed a problem when using the old method of calling Proc::Daemon::Init
without object (reported by Alex Samorukov). The parent process didn't
exit.
- Fixed a problem with Proc::ProcessTable 0.44: Under some conditions
'cmndline' retruns with space and/or other characters at the end.
- Update and small fixes in the documentation.
0.04 Sun Okt 24 2010
- Added functions: new(), adjust_settings(), fix_filename(), Status(),
Kill_Daemon(), get_pid() and get_pid_by_proc_table_attr().
- Init() now returns the PID of the daemon.
- Fork() now allways returns values like Perls built-in 'fork' does.
- Description was rewritten, extended and moved to the new Daemon.pod file.
- Additional test are done at installation.
- $SIG{'HUP'} was set to be valid only 'local' (bug report).
- POSIX::EAGAIN() was added to Fork() (bug report).
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").
binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.
addresses PR pkg/28619 from H. Todd Fujinaka.
Collection.
Provided in PR pkg/20502 by Jonathan Perkin
<sketch at rd dot bbc dot co dot uk>.
Proc::Daemon provides the capability for a Perl program to run as
a Unix daemon process.