Clarify include directive behavior in example redis.conf.

This commit is contained in:
antirez 2013-12-19 16:02:24 +01:00
parent b3632319a4
commit 305d7f29f3

View File

@ -20,8 +20,12 @@
# other files, so use this wisely. # other files, so use this wisely.
# #
# Notice option "include" won't be rewritten by command "CONFIG REWRITE" # Notice option "include" won't be rewritten by command "CONFIG REWRITE"
# from admin or Redis sentinel, you'd better put this option at the # from admin or Redis Sentinel. Since Redis always uses the last processed
# beginning of this file to avoid overwriting config change at runtime. # 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/local.conf
# include /path/to/other.conf # include /path/to/other.conf