NAME

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

VERSION

version 0.53

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 git://github.com/mschout/milter-limit.git

BUGS

Please report any bugs or feature requests to bug-app-milter-limit@rt.cpan.org or through the web interface at: http://rt.cpan.org/Public/Dist/Display.html?Name=App-Milter-Limit

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.