last update for RC

This commit is contained in:
Jordi Sanfeliu 2013-02-14 18:52:29 +01:00
parent 14b17c6e4c
commit bc2ad94d4b
3 changed files with 5 additions and 6 deletions

View File

@ -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

View File

@ -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);

View File

@ -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}) {