summaryrefslogtreecommitdiff
path: root/sentinel.conf
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-05-12 10:46:25 +0200
committerantirez <antirez@gmail.com>2014-05-12 10:46:25 +0200
commit63d1f9e570a80f73e56d02384307b3d4f6355daf (patch)
treed630ab43a11cf84d8c07876ceb4f7c955bd507cd /sentinel.conf
parent715a6d3a7824b7c1cd1902be800b5aa8b638aa76 (diff)
downloadredis-63d1f9e570a80f73e56d02384307b3d4f6355daf.tar.gz
Sentinel: Add "dir /tmp" directive in example sentinel.conf.
Diffstat (limited to 'sentinel.conf')
-rw-r--r--sentinel.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/sentinel.conf b/sentinel.conf
index ff255f87f..114b8474f 100644
--- a/sentinel.conf
+++ b/sentinel.conf
@@ -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