summaryrefslogtreecommitdiff
path: root/network/graphite-carbon/graphite-carbon.logrotate
diff options
context:
space:
mode:
authorMario Preksavec <mario at slackware dot hr>2015-02-06 20:32:58 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-06 20:32:58 +0700
commit8e345cefbe19d133e041bd99e469ce3d044ea7dc (patch)
treefeed123081bd13abb57d1382854a911c054dc890 /network/graphite-carbon/graphite-carbon.logrotate
parent171e85069717f372bfd9ba8ad6215f31bcc19bf2 (diff)
downloadslackbuilds-8e345cefbe19d133e041bd99e469ce3d044ea7dc.tar.gz
network/graphite-carbon: Added (Backend data caching).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/graphite-carbon/graphite-carbon.logrotate')
-rw-r--r--network/graphite-carbon/graphite-carbon.logrotate13
1 files changed, 13 insertions, 0 deletions
diff --git a/network/graphite-carbon/graphite-carbon.logrotate b/network/graphite-carbon/graphite-carbon.logrotate
new file mode 100644
index 0000000000..7b769425a8
--- /dev/null
+++ b/network/graphite-carbon/graphite-carbon.logrotate
@@ -0,0 +1,13 @@
+/var/log/carbon/*.log {
+ weekly
+ missingok
+ rotate 7
+ compress
+ delaycompress
+ notifempty
+ create 644 graphite graphite
+ sharedscripts
+ postrotate
+ /etc/rc.d/rc.carbon-cache restart > /dev/null
+ endscript
+}