summaryrefslogtreecommitdiffstats
path: root/debian/netdata-core.netdata.logrotate
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:22:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:22:32 +0000
commit0bbc0c292e607f3a40017a23d237c5d44eb30783 (patch)
tree550fdcacb3ba2f56c4a9cf93cab9581fd9b3ab97 /debian/netdata-core.netdata.logrotate
parentAdding upstream version 1.12.0. (diff)
downloadnetdata-0bbc0c292e607f3a40017a23d237c5d44eb30783.tar.xz
netdata-0bbc0c292e607f3a40017a23d237c5d44eb30783.zip
Adding debian version 1.12.0-1+deb10u1.debian/1.12.0-1+deb10u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/netdata-core.netdata.logrotate')
-rw-r--r--debian/netdata-core.netdata.logrotate13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/netdata-core.netdata.logrotate b/debian/netdata-core.netdata.logrotate
new file mode 100644
index 0000000..7ede4fc
--- /dev/null
+++ b/debian/netdata-core.netdata.logrotate
@@ -0,0 +1,13 @@
+/var/log/netdata/*log {
+ compress
+ create 0640 netdata adm
+ weekly
+ delaycompress
+ missingok
+ notifempty
+ rotate 14
+ sharedscripts
+ postrotate
+ /bin/kill -HUP `pidof netdata 2>/dev/null` 2>/dev/null || true
+ endscript
+}