gentoo-ebuilds/net-analyzer/openvas-scanner/files/openvas.logrotate
Giuseppe Foti dace69ea18
net-analyzer/openvas-scanner: fix logrotate issue
Signed-off-by: Giuseppe Foti <foti.giuseppe@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32083
Signed-off-by: Florian Schmaus <flow@gentoo.org>
2023-07-31 14:57:31 +02:00

13 lines
328 B
Text

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Daemon ignore HUP so we use 'copytruncate' instead of 'create'
# with safe file size to prevent losing log entries.
/var/log/gvm/openvas.log {
compress
missingok
notifempty
sharedscripts
copytruncate
maxsize 10M
}