Commit 6f508f1c authored by Salvatore Bonaccorso's avatar Salvatore Bonaccorso

Imported Upstream version 0.14

parent 6815fb94
......@@ -2,13 +2,13 @@
author:
text: |
2011, Mike Schilli <cpan@perlmeister.com>
2008, Mike Schilli <cpan@perlmeister.com>
header: AUTHORS
mode: verbatim
license:
text: |
Copyright 2011 by Mike Schilli, all rights reserved.
Copyright 2008-2011 by Mike Schilli, all rights reserved.
This program is free software, you can redistribute it and/or
modify it under the same terms as Perl itself.
header: LEGALESE
......
Revision history for Perl extension App::Daemon.
0.14 (12/25/2011)
(ms) [RT 72835] Patch by Peter to fix 'restart'.
0.13 (07/19/2011)
(ms) [rt.cpan.org #69561] default log and pid files are now in the
current directory, not in /tmp by default because of security
......
......@@ -2,7 +2,7 @@ package App::Daemon;
use strict;
use warnings;
our $VERSION = '0.13';
our $VERSION = '0.14';
use Getopt::Std;
use Pod::Usage;
......@@ -79,14 +79,14 @@ sub cmd_line_parse {
if(!defined $loglevel);
$loglevel = find_option('-v') ? $DEBUG : $loglevel;
for (qw(start stop status)) {
for (qw(start stop restart status)) {
if( find_option( $_ ) ) {
$action = $_;
last;
}
}
if($action eq "stop" or $action eq "restart") {
if($action eq "stop" or $action eq "status") {
$background = 0;
}
......@@ -697,11 +697,11 @@ shell prompt immediately.
=head1 AUTHOR
2011, Mike Schilli <cpan@perlmeister.com>
2008, Mike Schilli <cpan@perlmeister.com>
=head1 LICENSE
Copyright 2011 by Mike Schilli, all rights reserved.
Copyright 2008-2011 by Mike Schilli, all rights reserved.
This program is free software, you can redistribute it and/or
modify it under the same terms as Perl itself.
--- #YAML:1.0
name: App-Daemon
version: 0.13
version: 0.14
abstract: Start an Application as a Daemon
author:
- Mike Schilli <m@perlmeister.com>
......
######################################################################
App::Daemon 0.13
App::Daemon 0.14
######################################################################
NAME
......@@ -246,10 +246,10 @@ DESCRIPTION
shell prompt immediately.
AUTHOR
2011, Mike Schilli <cpan@perlmeister.com>
2008, Mike Schilli <cpan@perlmeister.com>
LICENSE
Copyright 2011 by Mike Schilli, all rights reserved. This program is
free software, you can redistribute it and/or modify it under the same
terms as Perl itself.
Copyright 2008-2011 by Mike Schilli, all rights reserved. This program
is free software, you can redistribute it and/or modify it under the
same terms as Perl itself.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment