4 require './logrotate-lib.pl';
6 &ui_print_header(undef, $text{'force_title'}, "");
8 # Save this CGI from being killed by the rotation of Webmin's own logs
9 $SIG{'TERM'} = 'IGNORE';
11 print $text{'force_doing'},"\n";
13 $out = &backquote_logged("$config{'logrotate'} -f $config{'logrotate_conf'} 2>&1");
15 print "<pre>$out</pre>";
17 print $text{'force_failed'},"<br>\n";
20 print $text{'force_done'},"<br>\n";
24 &ui_print_footer("", $text{'index_return'});