:: Re: [DNG] Log rotation keeps rotate…
Forside
Slet denne besked
Besvar denne besked
Skribent: kc-devuan
Dato:  
Til: dng
Emne: Re: [DNG] Log rotation keeps rotated file open
21 May 2024 16:39:13 Dan Purgert via Dng <dng@???>:

> Check the configuration, as I recall those should have a postrotate
> script (/usr/lib/rsyslog/rsyslog-rotate) running to restart syslog.
>
> Config is /etc/logrotate.d/rsyslog here (pulled forward from Chimaera).


The postrotate config and script are present with the script running
invoke-rc.d rsyslog rotate > /dev/null

I am running runit. restarting rsyslog seemed to fix it. If it happens again then I will take a closer look.

Thanks