Am 18.05.2021 um 15:05 schrieb UN-pi:
On Tue, 18 May 2021 14:23:14 +0200 Michael Biebl <bi...@debian.org> wrote:
> What exactly did you change in the script? Please post a diff (or the > file before and after the modifications you did). > > This is my actual file: #!/bin/sh #based on #https://askubuntu.com/questions/695999/var-log-syslog-not-rotating #if [ -d /run/systemd/system ]; then # systemctl kill -s HUP rsyslog.service #else # invoke-rc.d rsyslog rotate > /dev/null #fi if [ -d /run/systemd/system ]; then systemctl kill -s HUP --kill-who=main rsyslog.service else invoke-rc.d rsyslog rotate > /dev/null fi
What was the file before the change (i.e. the file which triggered this problem)?