diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-03-05 09:40:32 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-03-05 20:53:02 +0100 |
commit | 36c46f5893fa1f4df1defcee851e44ca3ed1fd8f (patch) | |
tree | 96e5be43cc8142a424fba8dff3f92da23722f9d9 /src/etc/logrotate.d/conntrackd | |
parent | 81f61d39f6befbd15f38766cb11e5c99fc0ac37c (diff) | |
download | vyos-1x-36c46f5893fa1f4df1defcee851e44ca3ed1fd8f.tar.gz vyos-1x-36c46f5893fa1f4df1defcee851e44ca3ed1fd8f.zip |
conntrackd: T4259: prevent startup of multiple daemon instances
(cherry picked from commit 2c94c3ec72a559de405b29b4399250db3085717e)
Diffstat (limited to 'src/etc/logrotate.d/conntrackd')
-rw-r--r-- | src/etc/logrotate.d/conntrackd | 9 |
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 +} |