diff options
Diffstat (limited to 'net-analyzer/openvas-scanner/files/openvassd.logrotate')
-rw-r--r-- | net-analyzer/openvas-scanner/files/openvassd.logrotate | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net-analyzer/openvas-scanner/files/openvassd.logrotate b/net-analyzer/openvas-scanner/files/openvassd.logrotate new file mode 100644 index 000000000000..9cf47d54763d --- /dev/null +++ b/net-analyzer/openvas-scanner/files/openvassd.logrotate @@ -0,0 +1,13 @@ +# Copyright 1999-2019 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/openvassd.log { + compress + missingok + notifempty + sharedscripts + copytruncate + maxsize 10M +} |