From fd52846ea4ddadb7d9b66a52d37605e4c1446356 Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Mon, 19 Mar 2018 12:31:35 +0100 Subject: [PATCH] small corrections --- README | 3 ++- monitorix | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README b/README index 571dbbb..b76239b 100644 --- a/README +++ b/README @@ -8,7 +8,8 @@ well. It consists mainly of two programs: a collector, called monitorix, which is a Perl daemon that is started automatically like any other system service, -and a CGI script called monitorix.cgi. Since 3.0 version Monitorix includes its own HTTP server built in, so you don't need to install any web server to use it. +and a CGI script called monitorix.cgi. Since 3.0 version Monitorix includes its +own HTTP server built in, so you don't need to install any web server to use it. Every time 'monitorix' is started it reads the configuration file from the path specified in the command line (using the -c option), and once checked, it diff --git a/monitorix b/monitorix index 9ca09f6..fb13423 100755 --- a/monitorix +++ b/monitorix @@ -77,7 +77,7 @@ sub HUP_handler { logger("SIG$signal caught."); - # upon receiving a SIGHUP signal a new logfile opened + # upon receiving SIGHUP a new logfile is opened close(STDOUT); close(STDERR); open(STDOUT, ">> $config{log_file}") || logger("Can't write to LOG: $!");