X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FDaemonize.pm;h=83680f476f35d46e3c6064714aff2532e30b363e;hb=b37fcc5f9a086f8204bea2490775aaea6d3859e3;hp=244d9b4c2025978458ae6b85800479122a2fa651;hpb=399854a361242ca75d005350f6ab28c1d5e667ed;p=gitmo%2FMooseX-Daemonize.git diff --git a/lib/MooseX/Daemonize.pm b/lib/MooseX/Daemonize.pm index 244d9b4..83680f4 100644 --- a/lib/MooseX/Daemonize.pm +++ b/lib/MooseX/Daemonize.pm @@ -4,8 +4,6 @@ use Moose::Role; use MooseX::Types::Path::Class; use File::Path qw(make_path); -our $VERSION = '0.15'; - with 'MooseX::Daemonize::WithPidFile', 'MooseX::Getopt'; @@ -215,7 +213,7 @@ sub stop { $self->clear_exit_code; # if the pid is not running - # then we dont need to stop + # then we don't need to stop # anything ... if ($self->pidfile->is_running) { @@ -317,10 +315,6 @@ __END__ MooseX::Daemonize - Role for daemonizing your Moose based application -=head1 VERSION - -This document describes MooseX::Daemonize version 0.15 - =head1 WARNING The maintainers of this module now recommend using L instead. @@ -357,7 +351,7 @@ The maintainers of this module now recommend using L instead. =head1 DESCRIPTION -Often you want to write a persistant daemon that has a pid file, and responds +Often you want to write a persistent daemon that has a pid file, and responds appropriately to Signals. This module provides a set of basic roles as an infrastructure to do that. @@ -416,7 +410,7 @@ be set via Getopt's -f. =item I If true, the process will not perform the typical double-fork, which is extra -added protection from your process accidentally aquiring a controlling terminal. +added protection from your process accidentally acquiring a controlling terminal. More information can be found by Googling "double fork daemonize". =item I @@ -540,7 +534,7 @@ Handle a HUP signal. By default calls C<$self->restart()> =head2 Exit Code Methods -These are overriable constant methods used for setting the exit code. +These are overridable constant methods used for setting the exit code. =over 4