Sentinel: Add "dir /tmp" directive in example sentinel.conf.

This commit is contained in:
antirez 2014-05-12 10:46:25 +02:00
parent 715a6d3a78
commit 63d1f9e570
1 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,13 @@
# The port that this sentinel instance will run on
port 26379
# dir <working-directory>
# Every long running process should have a well-defined working directory.
# For Redis Sentinel to chdir to /tmp at startup is the simplest thing
# for the process to don't interferer with administrative tasks such as
# unmounting filesystems.
dir /tmp
# sentinel monitor <master-name> <ip> <redis-port> <quorum>
#
# Tells Sentinel to monitor this master, and to consider it in O_DOWN