1MooseX::Daemonize::Pid:U:sFeirleC(o3nptmr)ibuted Perl DoMcouomseenXt:a:tDiaoenmonize::Pid::File(3pm)
2
3
4

NAME

6       MooseX::Daemonize::Pid::File - PID file management for
7       MooseX::Daemonize
8

VERSION

10       version 0.22
11

DESCRIPTION

13       This object extends MooseX::Daemonize::Pid to add persistence in a
14       Pidfile.
15
16       This class sets up some basic coercion routines for itself so that it
17       can be created from a Str (a file name), ArrayRef (an array of path
18       components for a filename) or a Path::Class::File object.
19
20       This class registers it's type with MooseX::Getopt as well, and is
21       expected to be passed on the command line as a string (which will then
22       go through the coercion routines mentioned above).
23

ATTRIBUTES

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

METHODS

32       clear_pid
33       has_pid
34           Both of these methods are inherited from <MooseX:Daemonize::Pid>
35           see that module for more information.
36
37       remove
38           This removes the Pidfile.
39
40       write
41           This writes the Pidfile.
42
43       does_file_exist
44           This checks if the Pidfile exists.
45
46       is_running
47           This checks if the Pidfile exists, if it does it checks to see if
48           the process is running, if the Pidfile doesn't exist, it returns
49           false.
50
51       meta()
52           The meta() method from Class::MOP::Class
53

SUPPORT

55       Bugs may be submitted through the RT bug tracker
56       <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Daemonize>
57       (or bug-MooseX-Daemonize@rt.cpan.org <mailto:bug-MooseX-
58       Daemonize@rt.cpan.org>).
59
60       There is also a mailing list available for users of this distribution,
61       at <http://lists.perl.org/list/moose.html>.
62
63       There is also an irc channel available for users of this distribution,
64       at "#moose" on "irc.perl.org" <irc://irc.perl.org/#moose>.
65

AUTHORS

67       •   Stevan Little <stevan.little@iinteractive.com>
68
69       •   Chris Prather <chris@prather.org>
70
72       This software is copyright (c) 2007 by Chris Prather.
73
74       This is free software; you can redistribute it and/or modify it under
75       the same terms as the Perl 5 programming language system itself.
76
77
78
79perl v5.36.0                      2023-01-20 MooseX::Daemonize::Pid::File(3pm)
Impressum