Diff for perl-modules/Platon/FastCGI/Restart.pm between version 1.4 and 1.5
| version 1.4, 2004/09/23 18:23:40 |
version 1.5, 2004/10/26 14:22:57 |
|
|
| # 09/02/2004 - created |
# 09/02/2004 - created |
| # |
# |
| |
|
| # $Platon: perl-modules/Platon/FastCGI/Restart.pm,v 1.3 2004/05/16 15:09:12 rajo Exp $ |
# $Platon: perl-modules/Platon/FastCGI/Restart.pm,v 1.4 2004/09/23 18:23:40 rajo Exp $ |
| |
|
| package Platon::FastCGI::Restart; |
package Platon::FastCGI::Restart; |
| |
|
| Line 156 restart - restart program (e.g. FastCGI |
|
| Line 156 restart - restart program (e.g. FastCGI |
|
| use Platon::FastCGI::Restart; |
use Platon::FastCGI::Restart; |
| |
|
| $restart = Platon::FastCGI::Restart->new({ |
$restart = Platon::FastCGI::Restart->new({ |
| restart_func => sub { $req->LastCall() }, |
restart_func => sub { $req->LastCall(); exit 0 }, |
| use_lock => 'true', |
use_lock => 'true', |
| lock_dir => '/var/tmp', |
lock_dir => '/var/tmp', |
| max_restart_interval => 60, |
max_restart_interval => 60, |
Platon Group <platon@platon.org> http://platon.org/
|
|