Skip to content

Commit

Permalink
Sentinel: Add "dir /tmp" directive in example sentinel.conf.
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed May 12, 2014
1 parent 715a6d3 commit 63d1f9e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sentinel.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 63d1f9e

Please sign in to comment.