NAME

App::Milter::Limit::PidFile - Milter Limit Pid file class

VERSION

version 0.54

SYNOPSIS

die "already running" if App::Milter::Limit::PidFile->running;

DESCRIPTION

This class manages the milter limit PID file.

METHODS

running

If the program is running already, returns true. Otherwise, returns false, and writes the pid file, and changes its permissions to the user/group specified in the milter limit configuration file. When the program exits, the pid file will be removed automatically.

SOURCE

The development version is on github at https://github.com/mschout/milter-limit and may be cloned from https://github.com/mschout/milter-limit.git

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/mschout/milter-limit/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Michael Schout <mschout@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Michael Schout.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.