| 1 |
Revision history for Perl extension App::Daemon. |
| 2 |
|
| 3 |
0.22 (09/23/2014) |
| 4 |
(ms) Fixed test suite to shut down fork daemon at the end. |
| 5 |
|
| 6 |
0.21 (04/28/2014) |
| 7 |
(ms) Nicolai Langfeldt added -g option to switch to specified group |
| 8 |
when app was started as root. |
| 9 |
(ms) Makefile.PL now dies on Win32 to save the CPAN smoke testers |
| 10 |
some grief with hanging tests ([rt.cpan.org #81980]) |
| 11 |
|
| 12 |
0.20 (11/11/2013) |
| 13 |
(ms) [rt.cpan.org #61428] Fixed bug in detach() which no longer attempts |
| 14 |
to write to a non-existing pid file. |
| 15 |
|
| 16 |
0.19 (07/07/2013) |
| 17 |
(ms) [rt.cpan.org #86762] Peter noticed that App::Daemon's fork() |
| 18 |
check was incorrect. Fixed. |
| 19 |
|
| 20 |
0.18 (10/31/2012) |
| 21 |
(ms) [rt.cpan.org #75931] Fixed previous release to actually work with |
| 22 |
Proc::ProcessTable missing. |
| 23 |
|
| 24 |
0.17 (10/30/2012) |
| 25 |
(ms) [rt.cpan.org #75931] To address problems with Proc::ProcessTable |
| 26 |
on some platforms, changed process_is_running() to use POSIX methods |
| 27 |
only. Proc::ProcessTable is now optional and only required when |
| 28 |
using process_running_by_name(). |
| 29 |
|
| 30 |
0.16 (10/21/2012) |
| 31 |
(ms) [rt.cpan.org #44462] forked children now don't remove the master's |
| 32 |
pid file anymore when they exit. Thanks to Felix Ostmann and |
| 33 |
Vadim Troshchinskiy for proposing the fix. |
| 34 |
|
| 35 |
0.15 (02/22/2012) |
| 36 |
(ms) [rt.cpan.org #75219] Umask is now set to 0 to allow OS calls |
| 37 |
to provide their own permission masks and not to depend on the |
| 38 |
umask of the caller. |
| 39 |
|
| 40 |
0.14 (12/25/2011) |
| 41 |
(ms) [rt.cpan.org #72835] Patch by Peter to fix 'restart'. |
| 42 |
|
| 43 |
0.13 (07/19/2011) |
| 44 |
(ms) [rt.cpan.org #69561] default log and pid files are now in the |
| 45 |
current directory, not in /tmp by default because of security |
| 46 |
concerns. |
| 47 |
(ms) [rt.cpan.org #69561] not setting umask anymore |
| 48 |
|
| 49 |
0.12 (07/18/2011) |
| 50 |
(ms) 'status' now doesn't write to the logfile (suggested by Brian Pitts) |
| 51 |
(ms) 'stop' now verifies if the process is still up, and retries |
| 52 |
$App::Daemon::kill_retries times (defaults to 3) times, with |
| 53 |
1-second sleeps in between. |
| 54 |
(ms) Upon successful 'stop', pid file now gets removed (suggested by |
| 55 |
Brian Pitts) |
| 56 |
(ms) 'status' now triggers exit codes |
| 57 |
in compliance with http://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html (suggested by Brian Pitts) |
| 58 |
(ms) using SIGTERM now instead of SIGINT to terminate a process |
| 59 |
|
| 60 |
0.11 (08/28/2010) |
| 61 |
(ms) Fixed test suite. |
| 62 |
|
| 63 |
0.10 (08/19/2010) |
| 64 |
(ms) Writing pid file before dropping privileges (just like logfile). |
| 65 |
|
| 66 |
0.09 (04/09/2010) |
| 67 |
(ms) Fixed find_option example on manual page. Thanks to |
| 68 |
Rolf Schaufelberger for pointing it out. |
| 69 |
(ms) Added github repository link to Makefile.PL |
| 70 |
(ms) Changed dropping privileges to setuid() |
| 71 |
(http://www.perlmonks.org/?node_id=833950) |
| 72 |
|
| 73 |
0.08 (11/05/2009) |
| 74 |
(ms) [RT 50884] Applied patch by Matthew Byng-Maddick allow overriding |
| 75 |
app-internal option settings by command line options. Order is now: |
| 76 |
command line > app-internal > App::Daemon internal |
| 77 |
(ms) [RT 51066] Applied patch by Mike Whitaker to point stdin/out/err |
| 78 |
to /dev/null instead of closing them. |
| 79 |
|
| 80 |
0.07 (10/08/2009) |
| 81 |
(ms) Applied patch by Sadrak [rt:44513] to check if Log4perl has |
| 82 |
already been initialized and skip the easy_init call in this |
| 83 |
case. Note that -v then has to be handled by the user-provided |
| 84 |
Log4perl configuration instead. |
| 85 |
(ms) [RT 50326] Fixed insecure dependency error in tainted mode |
| 86 |
by untainting the string obtained by appname(). |
| 87 |
|
| 88 |
0.06 (03/05/2009) |
| 89 |
(ms) Added detach() as an importable method for simple daemons. |
| 90 |
|
| 91 |
0.05 (02/17/2009) |
| 92 |
(ms) Better docs as requested by Tim Appnel |
| 93 |
(ms) docs on application-specific command line options |
| 94 |
(ms) Better daemonization according to Stevens (Advanced Programming |
| 95 |
in the UNIX environment) |
| 96 |
(ms) Make sure the child isn't killed by a closed session before |
| 97 |
it is able to detach from the tty. |
| 98 |
(ms) Better __DIE__ handler as suggested by Karl Rune Nilsen in |
| 99 |
http://rt.cpan.org/Ticket/Display.html?id=39917. |
| 100 |
|
| 101 |
0.04 10/02/2008 |
| 102 |
(ms) Fixed logfile permissions if daemon starts up at root and |
| 103 |
then drops priviledges. Added docs. |
| 104 |
|
| 105 |
0.03 08/03/2008 |
| 106 |
(ms) Fixed test suite for Freebsd, which locks tempfiles |
| 107 |
exclusively. Thanks to to CPAN tester Slaven Rezic. |
| 108 |
(ms) Removed restriction on perl-5.8. |
| 109 |
|
| 110 |
0.02 08/01/2008 |
| 111 |
(ms) Added setting logfile and pidfile within the script itself, as |
| 112 |
suggested by Kimo Rosenbaum. |
| 113 |
(ms) Fixed OLDERR warnings in test suite. |
| 114 |
|
| 115 |
0.01 07/19/2008 |
| 116 |
(ms) Where it all began. |