I understand. I am only familiar with Debian/Ubuntu so I can not help you 
with that.
And to me it seemed strange. Some times you restart/reload the 
service/demaon, but I have never seen that a logrotate is restarting 
logrotate...



Den onsdag 13 december 2017 kl. 12:42:38 UTC+1 skrev mwall:
>
> On Wednesday, December 13, 2017 at 4:36:01 AM UTC-5, Daniel Jönsson wrote:
>>
>> In this logrotate example you are restarting rsyslog postrotate!! Why?
>>
>
> restarting rsyslog is probably not necessary for the most recent operating 
> systems.
>
> i found that on some systems, logrotate did not manage open file handles 
> properly.  when logrotate rotated the weewx log file, (r)syslog would 
> continue to write to the log that had been rotated.
>
> do you know of a way to ensure proper logrotate behavior that works on all 
> operating systems and all operating system versions?
>
> m
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to