07 Dec 2019 01:26:55 UTC
- Distribution: MooseX-Daemonize
- Module version: 0.22
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (771 / 5 / 13)
- KwaliteeBus factor: 3
- % Coverage
- License: perl_5
- Perl: v5.8.3
- Download (46.17KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:1 non-PAUSE user
MooseX::Daemonize::Pid::File - PID file management for MooseX::Daemonize
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).
- 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
Both of these methods are inherited from MooseX:Daemonize::Pid see that module for more information.
This removes the Pidfile.
This writes the Pidfile.
This checks if the Pidfile exists.
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()method from Class::MOP::Class
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
Stevan Little <email@example.com>
Chris Prather <firstname.lastname@example.org>
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.
Module Install Instructions
To install MooseX::Daemonize, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install MooseX::Daemonize
For more information on module installation, please visit the detailed CPAN module installation guide.
|s||Focus search bar|
|?||Bring up this help dialog|
|g p||Go to pull requests|
|g i||go to github issues (only if github is preferred repository)|
|g a||Go to author|
|g c||Go to changes|
|g i||Go to issues|
|g d||Go to dist|
|g r||Go to repository/SCM|
|g s||Go to source|
|g b||Go to file browse|