GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MOOSEX::DAEMONIZE::PID::FILE (3)

.ds Aq ’

NAME

MooseX::Daemonize::Pid::File - PID file management for MooseX::Daemonize

CONTENTS

VERSION

version 0.21

DESCRIPTION

This object extends MooseX::Daemonize::Pid to add persistence in a Pidfile.

This class sets up some basic coercion routines for itself so that it can be created from a Str (a file name), ArrayRef (an array of path components for a filename) or a Path::Class::File object.

This class registers it’s type with MooseX::Getopt as well, and is expected to be passed on the command line as a string (which will then go through the coercion routines mentioned above).

ATTRIBUTES

pid Int This is inherited from <MooseX:Daemonize::Pid> and extended here to get it’s default value from the Pidfile (if available).
file Path::Class::File | Str

METHODS

<B>clear_pidB>
<B>has_pidB> Both of these methods are inherited from <MooseX:Daemonize::Pid> see that module for more information.
<B>removeB> This removes the Pidfile.
<B>writeB> This writes the Pidfile.
<B>does_file_existB> This checks if the Pidfile exists.
<B>is_runningB> This checks if the Pidfile exists, if it does it checks to see if the process is running, if the Pidfile doesn’t exist, it returns false.
meta() The meta() method from Class::MOP::Class

SUPPORT

Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Daemonize> (or bug-MooseX-Daemonize@rt.cpan.org <mailto:bug-MooseX-Daemonize@rt.cpan.org>).

There is also a mailing list available for users of this distribution, at <http://lists.perl.org/list/moose.html>.

There is also an irc channel available for users of this distribution, at #moose on irc.perl.org <irc://irc.perl.org/#moose>.

AUTHORS

o Stevan Little <stevan.little@iinteractive.com>
o Chris Prather <chris@prather.org>

COPYRIGHT AND LICENCE

This software is copyright (c) 2007 by Chris Prather.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MOOSEX::DAEMONIZE::PID::FILE (3) 2016-02-16

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.