aboutsummaryrefslogtreecommitdiffstats
path: root/community/gsad/gsad.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'community/gsad/gsad.logrotate')
-rw-r--r--community/gsad/gsad.logrotate13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/gsad/gsad.logrotate b/community/gsad/gsad.logrotate
new file mode 100644
index 00000000000..b4bfde091c4
--- /dev/null
+++ b/community/gsad/gsad.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/gsad.log {
+ compress
+ missingok
+ notifempty
+ sharedscripts
+ copytruncate
+ maxsize 10M
+}