From 63d1f9e570a80f73e56d02384307b3d4f6355daf Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 12 May 2014 10:46:25 +0200 Subject: Sentinel: Add "dir /tmp" directive in example sentinel.conf. --- sentinel.conf | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sentinel.conf') 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 +# 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 # # Tells Sentinel to monitor this master, and to consider it in O_DOWN -- cgit v1.2.1