sub restart {
my ($self) = @_;
- $self->stop( noexit => 1 );
+ $self->stop( no_exit => 1 );
$self->start();
}
unless ( CORE::kill 0 => $pid or $!{EPERM} ) { # IF it is still running
CORE::kill( 9, $pid ); # finally try SIGKILL
- sleep(2) if CORE::kill( 0, $pid );
+ sleep(3) if CORE::kill( 0, $pid );
}
unless ( CORE::kill 0 => $pid or $!{EPERM} ) { # IF it is still running
Chris Prather C<< <perigrin@cpan.org> >>
+=head1 THANKS
+
+Mike Boyko, Matt S. Trout, Stevan Little, Brandon Black, and the #moose denzians
=head1 LICENCE AND COPYRIGHT