From c5e0b6f5aa184bcaad5288d65b81971685a631ee Mon Sep 17 00:00:00 2001 From: Jean-Philippe Pialasse Date: Tue, 13 Aug 2024 23:40:09 -0400 Subject: [PATCH] * Tue Aug 13 2024 Jean-Philippe Pialasse 11.0.0-11.sme - fix new systemd.log does not fill after log rotate [SME: 12688] --- root/etc/logrotate.d/systemd | 2 +- smeserver-base.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/root/etc/logrotate.d/systemd b/root/etc/logrotate.d/systemd index 49a86fa..d26bd8c 100644 --- a/root/etc/logrotate.d/systemd +++ b/root/etc/logrotate.d/systemd @@ -2,7 +2,7 @@ missingok sharedscripts postrotate - /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true + /usr/bin/systemctl -s HUP kill rsyslog.service >/dev/null 2>&1 || true endscript } diff --git a/smeserver-base.spec b/smeserver-base.spec index 4c3539d..96d6e9b 100644 --- a/smeserver-base.spec +++ b/smeserver-base.spec @@ -4,7 +4,7 @@ Summary: smeserver server and gateway - base module %define name smeserver-base Name: %{name} %define version 11.0.0 -%define release 10 +%define release 11 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -184,6 +184,9 @@ fi %changelog +* Tue Aug 13 2024 Jean-Philippe Pialasse 11.0.0-11.sme +- fix new systemd.log does not fill after log rotate [SME: 12688] + * Wed May 15 2024 Jean-Philippe Pialasse 11.0.0-10.sme - fix user@0.service failed to start [SME: 12568] - stop loging in audit crond success