Revision 381

Date:
2013/09/03 16:39:39
Author:
ahitrov
Revision Log:
Plugins init
Files:

Legend:

 
Added
 
Removed
 
Modified
  • koi8/core/skel/project/services/script.tmpl

     
    24 24 #PidFile->new($keeper, compat=>1); # db-based locking (run only on one host)
    25 25 #PidFile->new($keeper, compat=>1, per_host=>1); # db-based locking (run on whole cluster)
    26 26
    27 for my $plugin ( split(/\s+/, $state->plugins) ) {
    28 my $class = $plugin.'::Apache';
    29 eval { $class->child_init(); };
    30 if ( $@ ) {
    31 $log->error("�� ���� ��������� ����� child_init ������� $plugin ($class) �� ������� '$@'");
    32 }
    33 }
    27 34 ############################################
    28 35 # please use:
    29 36 # $state->{log_dir} for logging