summaryrefslogtreecommitdiff
path: root/src/etc/logrotate.d/conntrackd
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/logrotate.d/conntrackd')
-rw-r--r--src/etc/logrotate.d/conntrackd9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/etc/logrotate.d/conntrackd b/src/etc/logrotate.d/conntrackd
new file mode 100644
index 000000000..b0b09dec1
--- /dev/null
+++ b/src/etc/logrotate.d/conntrackd
@@ -0,0 +1,9 @@
+/var/log/conntrackd-stats.log {
+ weekly
+ rotate 2
+ missingok
+
+ postrotate
+ systemctl restart conntrackd.service > /dev/null
+ endscript
+}