Hi,
I remember asking this a long time ago and at the time there was no "clean" way
to rotate the openvpn log because the process would keep the log open.
I remember that at the time we compromised by doing a copy and truncate trick.
Is there a "proper" way now to use the Linux logrotate feature without the
copytruncate option?
There is no default logrotate script in the Debian Linux I use, probably
because there is no default openvpn log file.
Becase in my openvpn config I have
log-append /var/log/openvpn-user.log
right now I am using for logrotate:
/var/log/openvpn-user.log {
rotate 12
monthly
copytruncate
compress
missingok
notifempty
}
Is this still the best way to do it?
Using OpenVPN Version: 2.3.4-5+deb8u2 on Debian
Bonno Bloksma
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users