diff --git a/Changes b/Changes index 2900767..580d973 100644 --- a/Changes +++ b/Changes @@ -6,6 +6,9 @@ - Added an extra configuration file specific for Debian systems. That file is expected to be placed in conf.d/ directory. (thanks to Andreas Itzchak Rehberg, izzy AT qumran.org) +- Added a new command line argument '-n' to prevent Monitorix from daemonizing + and force it to run in the foreground. This is specially useful in debugging + mode. - Fixed to default to white color theme if 'theme_color' option is invalid or not defined. - Fixed to merge correctly with the main configuration file any extra diff --git a/man/man8/monitorix.8 b/man/man8/monitorix.8 index 789207a..7f7a030 100644 --- a/man/man8/monitorix.8 +++ b/man/man8/monitorix.8 @@ -7,7 +7,7 @@ .SH NAME monitorix - a lightweight system monitoring tool .SH SYNOPSIS -\fBmonitorix\fR \fB-c\fR configfile [\fB-p\fR pidfile] [\fB-d\fR none | graph[,graph] | all] [\fB-v\fR] +\fBmonitorix\fR \fB-c\fR configfile [\fB-p\fR pidfile] [\fB-d\fR none | graph[,graph] | all] [\fB-v\fR] [\fB-n\fR] .SH DESCRIPTION This Perl daemon starts the main Monitorix process, which gathers statistics about the system it is running on and stores this information in a set of RRD files. .SH OPTIONS @@ -32,6 +32,9 @@ For a reference of all graph names check the option \fBgraph_name\fP in the \fIm .TP \fB\-v\fR Displays version information. +.TP +\fB\-n\fR +This argument will prevent Monitorix from daemonizing and force it to run in the foreground. .SH SIGNALS On receipt of a SIGHUP, \fBmonitorix\fP will close and reopen its log file. This is useful in scripts which rotate and age log files. .P