From bc2ad94d4ba8a8fb5c514e3c924a6b96d3b01fbb Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Thu, 14 Feb 2013 18:52:29 +0100 Subject: [PATCH] last update for RC --- docs/monitorix.spec | 2 +- lib/HTTPServer.pm | 3 +-- monitorix | 6 +++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/monitorix.spec b/docs/monitorix.spec index 2a9f041..2773e63 100644 --- a/docs/monitorix.spec +++ b/docs/monitorix.spec @@ -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 diff --git a/lib/HTTPServer.pm b/lib/HTTPServer.pm index 01853eb..3b1e782 100644 --- a/lib/HTTPServer.pm +++ b/lib/HTTPServer.pm @@ -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 = ; close(EXEC); diff --git a/monitorix b/monitorix index bfc6da2..e661540 100755 --- a/monitorix +++ b/monitorix @@ -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}) {