diff options
author | antirez <antirez@gmail.com> | 2013-12-19 16:02:24 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-12-19 16:02:31 +0100 |
commit | 305d7f29f348cc98590b3cf985550b5f51365664 (patch) | |
tree | a08baac3359b44e9485283f559e86aa0238734dc /redis.conf | |
parent | b3632319a47321393e36c627f6c59e08773c07ff (diff) | |
download | redis-305d7f29f348cc98590b3cf985550b5f51365664.tar.gz |
Clarify include directive behavior in example redis.conf.
Diffstat (limited to 'redis.conf')
-rw-r--r-- | redis.conf | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/redis.conf b/redis.conf index 4c18120e1..7fb4e4953 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 |