mirror of https://github.com/mikaku/Monitorix.git
last update for RC
This commit is contained in:
parent
14b17c6e4c
commit
bc2ad94d4b
|
@ -5,7 +5,7 @@ Summary: Monitorix is a system monitoring tool
|
|||
Name: monitorix
|
||||
Version: 3.0.0
|
||||
#Release: 1%{?dist}
|
||||
Release: 0.beta2%{?dist}
|
||||
Release: 0.beta3%{?dist}
|
||||
License: GPL
|
||||
Group: Applications/System
|
||||
URL: http://www.monitorix.org
|
||||
|
|
|
@ -98,8 +98,7 @@ sub handle_request {
|
|||
$target =~ s/^\///; # removes leading slash
|
||||
$target_cgi =~ s/^\///; # removes leading slash
|
||||
if($target_cgi eq "monitorix.cgi") {
|
||||
# chdir("cgi");
|
||||
chdir("/home/jordi/github/Monitorix/"); # XXX
|
||||
chdir("cgi");
|
||||
open(EXEC, "./$target_cgi |");
|
||||
@data = <EXEC>;
|
||||
close(EXEC);
|
||||
|
|
|
@ -47,8 +47,8 @@ $SIG{'CHLD'} = 'CHLD_handler';
|
|||
$SIG{'HUP' } = 'HUP_handler';
|
||||
$SIG{'ALRM'} = 'ALRM_handler';
|
||||
|
||||
use constant VERSION => "3.0.0beta2";
|
||||
use constant RELDATE => "01-Feb-2013";
|
||||
use constant VERSION => "3.0.0beta3";
|
||||
use constant RELDATE => "14-Feb-2013";
|
||||
|
||||
my @suppsys = ("Linux", "FreeBSD", "OpenBSD", "NetBSD");
|
||||
our %config;
|
||||
|
@ -410,7 +410,7 @@ $0 = sprintf("%s %s%s%s%s",
|
|||
$options{d} ? " -d $options{d}" : "",
|
||||
$options{v} ? " -v" : "");
|
||||
|
||||
#daemonize();
|
||||
daemonize();
|
||||
logger("Starting Monitorix version " . VERSION . " (pid $$).");
|
||||
|
||||
if($options{p}) {
|
||||
|
|
Loading…
Reference in New Issue