Am 19.05.21 um 12:27 schrieb UN-pi:
I found this in the internet:https://github.com/rsyslog/rsyslog/issues/3952 I will give it a try by changing|#!/bin/sh if [ -d /run/systemd/system ]; then systemctl kill -s HUP rsyslog.service else invoke-rc.d rsyslog rotate > /dev/null fi to ||#!/bin/sh if [ -d /run/systemd/system ]; then ||killall -HUP rsyslogd else ||killall -HUP rsyslogd fi Then I manually restarted the rsyslog.service and startet journalctl --rotate. I will see. |||
While you can test this, I'm certainly not going to use "killall" in logrotate.d/rsyslog, as it is dangerous.
OpenPGP_signature
Description: OpenPGP digital signature