From 36c46f5893fa1f4df1defcee851e44ca3ed1fd8f Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 5 Mar 2022 09:40:32 +0100 Subject: conntrackd: T4259: prevent startup of multiple daemon instances (cherry picked from commit 2c94c3ec72a559de405b29b4399250db3085717e) --- src/etc/logrotate.d/conntrackd | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/etc/logrotate.d/conntrackd (limited to 'src/etc/logrotate.d/conntrackd') 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 +} -- cgit v1.2.3