aboutsummaryrefslogtreecommitdiffstats
path: root/community/greenbone-security-assistant/gsad.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'community/greenbone-security-assistant/gsad.logrotate')
-rw-r--r--community/greenbone-security-assistant/gsad.logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/greenbone-security-assistant/gsad.logrotate b/community/greenbone-security-assistant/gsad.logrotate
new file mode 100644
index 0000000000..f0948cbea1
--- /dev/null
+++ b/community/greenbone-security-assistant/gsad.logrotate
@@ -0,0 +1,11 @@
+# logrotate for openvas
+/var/log/openvas/gsad.log {
+ rotate 4
+ weekly
+ compress
+ delaycompress
+ missingok
+ postrotate
+ /bin/kill -HUP `pidof gsad`
+ endscript
+}