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: $!");