From c17c651458be37fd197a7c2f3dd50d9eab2f7d83 Mon Sep 17 00:00:00 2001 From: Manuel Sabban Date: Fri, 22 Apr 2022 15:42:28 +0200 Subject: [PATCH] add logrotate file for debian (#1474) * add logrotate file for debian Co-authored-by: sabban <15465465+sabban@users.noreply.github.com> --- debian/crowdsec.logrotate | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 debian/crowdsec.logrotate diff --git a/debian/crowdsec.logrotate b/debian/crowdsec.logrotate new file mode 100644 index 000000000..ff1e12b7b --- /dev/null +++ b/debian/crowdsec.logrotate @@ -0,0 +1,9 @@ +/var/log/crowdsec.log +/var/log/crowdsec_api.log +{ + rotate 4 + daily + compress + missingok + notifempty +}