From ae2076761af6ba34d8154453ba4425a2f35f1a18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 22 Jan 2023 03:17:29 +0100 Subject: [PATCH] add correct extension on log files --- conf/monitorix.conf | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/conf/monitorix.conf b/conf/monitorix.conf index 5b4e8d1..ce32f06 100644 --- a/conf/monitorix.conf +++ b/conf/monitorix.conf @@ -5,32 +5,32 @@ title = Yunohost Stats hostname = Yunohost Server -theme_color = black -refresh_rate = 150 -iface_mode = graph -enable_zoom = y +theme_color = black +refresh_rate = 150 +iface_mode = graph +enable_zoom = y netstats_in_bps = y -disable_javascript_void = y -temperature_scale = c +disable_javascript_void = y +temperature_scale = c show_gaps = n -global_zoom = 1 -max_historic_years = 5 -accept_selfsigned_certs = y +global_zoom = 1 +max_historic_years = 5 +accept_selfsigned_certs = y image_format = svg -include_dir = /etc/monitorix/conf.d +include_dir = /etc/monitorix/conf.d -base_dir = /var/lib/monitorix/www/ -base_lib = /var/lib/monitorix/ -base_url = __YNH_WWW_PATH__ -base_cgi = __YNH_WWW_PATH__/cgi +base_dir = /var/lib/monitorix/www/ +base_lib = /var/lib/monitorix/ +base_url = __YNH_WWW_PATH__ +base_cgi = __YNH_WWW_PATH__/cgi - - enabled = y + + enabled = y host = localhost port = __SERVICE_PORT__ user = www-data group = nogroup - log_file = /var/log/monitorix-httpd + log_file = /var/log/monitorix-httpd.log hosts_deny = hosts_allow = https_url = y @@ -44,7 +44,7 @@ base_cgi = __YNH_WWW_PATH__/cgi # Log files pathnames # ----------------------------------------------------------------------------- -log_file = /var/log/monitorix +log_file = /var/log/monitorix.log secure_log = /var/log/secure mail_log = /var/log/maillog milter_gl = /var/milter-greylist/greylist.db @@ -88,7 +88,7 @@ secure_log_date_format = %b %e du = n net = y netstat = y - tc = n + tc = n libvirt = n process = y serv = y @@ -385,7 +385,7 @@ secure_log_date_format = %b %e mta = postfix greylist = milter-greylist rigid = 0, 0, 0, 0, 0 - limit = 1, 1000, 1000, 1000, 1000 + limit = 1, 1000, 1000, 1000, 1000