summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-03-05 09:40:32 +0100
committerChristian Poessinger <christian@poessinger.com>2022-03-05 09:40:32 +0100
commit2c94c3ec72a559de405b29b4399250db3085717e (patch)
tree6b02be6b63c7af09b6ae0208338e7e1a4dc666d9 /src
parentc06861440cd21ff7c668b35ed1039f5fac4101b9 (diff)
downloadvyos-1x-2c94c3ec72a559de405b29b4399250db3085717e.tar.gz
vyos-1x-2c94c3ec72a559de405b29b4399250db3085717e.zip
conntrackd: T4259: prevent startup of multiple daemon instances
Diffstat (limited to 'src')
-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
+}