On Tue, 18 May 2021 14:10:08 +0200 =?UTF-8?Q?Christian_G=C3=B6ttsche?= <cgzo...@googlemail.com> wrote:
> Based on Samuel's comment, modified /usr/lib/rsyslog/rsyslog-rotate
> #!/bin/sh
>
> if [-d /run/systemd/system]; then
>      systemctl kill -s HUP --kill-who = main rsyslog.service
> else
>      invoke-rc.d rsyslog rotate> /dev/null
> fi
> "
>
> Is it a bug or do I have an understanding problem somewhere?
>

What exactly did you change in the script? Please post a diff (or the file before and after the modifications you did).

Reply via email to