From a836a244a3d2bdd4da1ee2641e3e957850668cea Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 8 May 2023 18:27:04 +0200 Subject: Adding upstream version 1.39.0. Signed-off-by: Daniel Baumann --- system/logrotate/netdata.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 system/logrotate/netdata.in (limited to 'system/logrotate/netdata.in') diff --git a/system/logrotate/netdata.in b/system/logrotate/netdata.in new file mode 100644 index 000000000..2c4949e5f --- /dev/null +++ b/system/logrotate/netdata.in @@ -0,0 +1,12 @@ +@localstatedir_POST@/log/netdata/*.log { + daily + missingok + rotate 14 + compress + delaycompress + notifempty + sharedscripts + postrotate + /bin/kill -HUP `cat /run/netdata/netdata.pid 2>/dev/null` 2>/dev/null || true + endscript +} -- cgit v1.2.3