diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 11:08:08 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 11:08:08 +0000 |
commit | ba729bd1d3089ba48b57ff6cab7e4ca21ccb4146 (patch) | |
tree | 156030137bdda66d88a8ae3d033ecf55d1c141da /debian/netdata-core.netdata.logrotate | |
parent | Adding upstream version 1.29.3. (diff) | |
download | netdata-debian.tar.xz netdata-debian.zip |
Adding debian version 1.29.3-4.debian/1.29.3-4debian
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.logrotate | 13 |
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 +} |