summaryrefslogtreecommitdiffstats
path: root/debian/netdata-core.netdata.logrotate
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-01-01 16:05:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-01-27 20:49:02 +0000
commit9defc7d3bebf04db61dcdcbaca9fe9be79432a46 (patch)
tree48a43ce97bb0cf13c1a40c7fe38cc525a631d2e3 /debian/netdata-core.netdata.logrotate
parentMoving architecture-independent plugins to interpreter specific netdata-plugi... (diff)
downloadnetdata-9defc7d3bebf04db61dcdcbaca9fe9be79432a46.tar.xz
netdata-9defc7d3bebf04db61dcdcbaca9fe9be79432a46.zip
Renaming netdata to netdata-core, making netdata a meta package depending on the (typical) netdata components that it contained before the package reshuffeling.
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 000000000..7ede4fcb0
--- /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
+}