smeserver-base/root/etc/logrotate.d/systemd
Jean-Philippe Pialasse c5e0b6f5aa * Tue Aug 13 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-11.sme
- fix new systemd.log does not fill after log rotate [SME: 12688]
2024-08-13 23:40:09 -04:00

9 lines
166 B
Plaintext

/var/log/systemd.log {
missingok
sharedscripts
postrotate
/usr/bin/systemctl -s HUP kill rsyslog.service >/dev/null 2>&1 || true
endscript
}