diff --git a/sentinel.conf b/sentinel.conf index ff255f87f06a50921a84e8c458d610888565b4fe..114b8474f284f0cdea509d096e6b7373ced4e6ef 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