ok,.. more tests and stuff
[gitmo/MooseX-Daemonize.git] / lib / MooseX / Daemonize / WithPidFile.pm
CommitLineData
d9e417f4 1package MooseX::Daemonize::WithPidFile;
2use strict;
3use Moose::Role;
4
d8985b7d 5use MooseX::Daemonize::Pid::File;
d9e417f4 6
7our $VERSION = 0.01;
8
9requires 'init_pidfile';
10
11has pidfile => (
d8985b7d 12 isa => 'MooseX::Daemonize::Pid::File',
d9e417f4 13 is => 'rw',
14 lazy => 1,
15 required => 1,
16 coerce => 1,
17 predicate => 'has_pidfile',
18 builder => 'init_pidfile',
19);
20
211;
22
8ac4733f 23__END__
24
25=pod
26
27=cut