summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2013-12-19 16:02:24 +0100
committerantirez <antirez@gmail.com>2013-12-19 16:03:52 +0100
commitd33f3689d7c42bab19ff84eac4a095648c107317 (patch)
tree664464dc3d872b3b1d5010f79aec9fc55c3918c4
parentfb8a480f542b411ee14a998fd575e150dbc317ee (diff)
downloadredis-d33f3689d7c42bab19ff84eac4a095648c107317.tar.gz
Clarify include directive behavior in example redis.conf.
-rw-r--r--redis.conf8
1 files changed, 6 insertions, 2 deletions
diff --git a/redis.conf b/redis.conf
index 0224b60c9..6306b8a03 100644
--- a/redis.conf
+++ b/redis.conf
@@ -20,8 +20,12 @@
# other files, so use this wisely.
#
# Notice option "include" won't be rewritten by command "CONFIG REWRITE"
-# from admin or Redis sentinel, you'd better put this option at the
-# beginning of this file to avoid overwriting config change at runtime.
+# from admin or Redis Sentinel. Since Redis always uses the last processed
+# line as value of a configuration directive, you'd better put includes
+# at the beginning of this file to avoid overwriting config change at runtime.
+#
+# If instead you are interested in using includes to override configuration
+# options, it is better to use include as the last line.
#
# include /path/to/local.conf
# include /path/to/other.conf