On Fri, Apr 26, 2013 at 01:05:10PM +0200, Ramses II wrote:

> Now I have the following in logrotate file (tinc):
> 
> /var/log/tinc.log {
[...]
>   postrotate
>     kill -HUP `cat /var/run/tinc.pid`
>   endscript
> }
> 
> I run "logrotate -f /etc/logrotate.d/tinc" and the same situation, creates
> the new "tinc.log" but it goes report in the "tinc.log.4" file:
> 
> ----------- tinc.log.4 ------------------
> .
> .
> 1366973321 tinc[14882]: Got HUP signal
> .
> .
> -----------------------------------------

The "Got HUP signal" message will always end up in the old log. Which version
of tinc are you running? You need 1.0.15 or later for this to work
correctly.

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <[email protected]>

Attachment: signature.asc
Description: Digital signature

_______________________________________________
tinc mailing list
[email protected]
http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc

Reply via email to