our $VERSION = 0.01;
+with 'MooseX::Daemonize::Core';
+
requires 'init_pidfile';
has pidfile => (
builder => 'init_pidfile',
);
+after 'daemonize' => sub {
+ # NOTE:
+ # make sure that we do not have
+ # any bad PID values stashed around
+ # - SL
+ (shift)->pidfile->clear_pid
+};
+
1;
__END__