diff options
author | Mario Preksavec <mario at slackware dot hr> | 2015-02-06 20:32:58 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-02-06 20:32:58 +0700 |
commit | 8e345cefbe19d133e041bd99e469ce3d044ea7dc (patch) | |
tree | feed123081bd13abb57d1382854a911c054dc890 /network/graphite-carbon/patches/carbon.conf.example.diff | |
parent | 171e85069717f372bfd9ba8ad6215f31bcc19bf2 (diff) | |
download | slackbuilds-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/patches/carbon.conf.example.diff')
-rw-r--r-- | network/graphite-carbon/patches/carbon.conf.example.diff | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/network/graphite-carbon/patches/carbon.conf.example.diff b/network/graphite-carbon/patches/carbon.conf.example.diff new file mode 100644 index 0000000000..cd72206d45 --- /dev/null +++ b/network/graphite-carbon/patches/carbon.conf.example.diff @@ -0,0 +1,41 @@ +--- carbon-0.9.13-pre1/conf/carbon.conf.example.orig 2014-12-31 17:50:50.000000000 +0100 ++++ carbon-0.9.13-pre1/conf/carbon.conf.example 2015-02-04 00:36:17.680898110 +0100 +@@ -14,30 +14,21 @@ + # To change other directory paths, add settings to this file. The following + # configuration variables are available with these default values: + # +-# STORAGE_DIR = $GRAPHITE_STORAGE_DIR +-# LOCAL_DATA_DIR = STORAGE_DIR/whisper/ +-# WHITELISTS_DIR = STORAGE_DIR/lists/ +-# CONF_DIR = STORAGE_DIR/conf/ +-# LOG_DIR = STORAGE_DIR/log/ +-# PID_DIR = STORAGE_DIR/ +-# +-# For FHS style directory structures, use: +-# +-# STORAGE_DIR = /var/lib/carbon/ +-# CONF_DIR = /etc/carbon/ +-# LOG_DIR = /var/log/carbon/ +-# PID_DIR = /var/run/ +-# +-#LOCAL_DATA_DIR = /opt/graphite/storage/whisper/ ++STORAGE_DIR = /var/lib/graphite/ ++CONF_DIR = /etc/carbon/ ++LOG_DIR = /var/log/carbon/ ++PID_DIR = /var/run/ ++ ++LOCAL_DATA_DIR = /var/lib/graphite/whisper/ + + # Enable daily log rotation. If disabled, carbon will automatically re-open + # the file if it's rotated out of place (e.g. by logrotate daemon) +-ENABLE_LOGROTATION = True ++ENABLE_LOGROTATION = False + + # Specify the user to drop privileges to + # If this is blank carbon runs as the user that invokes it + # This user must have write access to the local data directory +-USER = ++USER = graphite + # + # NOTE: The above settings must be set under [relay] and [aggregator] + # to take effect for those daemons as well |