summaryrefslogtreecommitdiff
path: root/system/ossec-agent/ossec.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'system/ossec-agent/ossec.logrotate')
-rw-r--r--system/ossec-agent/ossec.logrotate5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/ossec-agent/ossec.logrotate b/system/ossec-agent/ossec.logrotate
new file mode 100644
index 0000000000..7b6406819f
--- /dev/null
+++ b/system/ossec-agent/ossec.logrotate
@@ -0,0 +1,5 @@
+/var/ossec/logs/active-responses.log /var/ossec/logs/ossec.log {
+ missingok
+ notifempty
+ copytruncate
+}