projects
/
gitmo/MooseX-Daemonize.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b5aa510e5f63204734390d8282b53563bfa06a25
[gitmo/MooseX-Daemonize.git]
/
lib
/
MooseX
/
Daemonize
/
WithPidFile.pm
1
package MooseX::Daemonize::WithPidFile;
2
use strict;
3
use Moose::Role;
4
5
use MooseX::Daemonize::Pid::File;
6
7
our $VERSION = 0.01;
8
9
requires 'init_pidfile';
10
11
has pidfile => (
12
isa => 'MooseX::Daemonize::Pid::File',
13
is => 'rw',
14
lazy => 1,
15
required => 1,
16
coerce => 1,
17
predicate => 'has_pidfile',
18
builder => 'init_pidfile',
19
);
20
21
1;
22
23
__END__
24
25
=pod
26
27
=cut