small corrections

This commit is contained in:
Jordi Sanfeliu 2018-03-19 12:31:35 +01:00
parent 593e1a7ea7
commit fd52846ea4
2 changed files with 3 additions and 2 deletions

3
README
View File

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

View File

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