summaryrefslogtreecommitdiff
path: root/dev-db/redis/files/redis-sentinel-5.0-config.patch
diff options
context:
space:
mode:
authorTomas Mozes <hydrapolic@gmail.com>2018-10-18 14:12:27 +0200
committerThomas Deutschmann <whissi@gentoo.org>2018-10-26 15:17:44 +0200
commit23040f93869d3b935312c475084c834d3be62558 (patch)
tree22b27f48047820aa6b1f0d26b620a8fefca5051f /dev-db/redis/files/redis-sentinel-5.0-config.patch
parent880545d6fbe541b10686ebb03ce42076a9041019 (diff)
downloadgentoo-23040f93869d3b935312c475084c834d3be62558.tar.gz
gentoo-23040f93869d3b935312c475084c834d3be62558.tar.bz2
gentoo-23040f93869d3b935312c475084c834d3be62558.zip
dev-db/redis: bump to 5.0.0
Closes: https://bugs.gentoo.org/668950 Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-db/redis/files/redis-sentinel-5.0-config.patch')
-rw-r--r--dev-db/redis/files/redis-sentinel-5.0-config.patch21
1 files changed, 15 insertions, 6 deletions
diff --git a/dev-db/redis/files/redis-sentinel-5.0-config.patch b/dev-db/redis/files/redis-sentinel-5.0-config.patch
index 53299f11840f..099b4eef818c 100644
--- a/dev-db/redis/files/redis-sentinel-5.0-config.patch
+++ b/dev-db/redis/files/redis-sentinel-5.0-config.patch
@@ -1,10 +1,19 @@
diff --git a/sentinel.conf b/sentinel.conf
-index 3703c73..964ffa3 100644
+index bc9a705..05e58d3 100644
--- a/sentinel.conf
+++ b/sentinel.conf
-@@ -222,3 +222,5 @@ sentinel deny-scripts-reconfig yes
- # case, so writing "config guessme" is the same in the example above.
- #
- # SENTINEL SET can also be used in order to perform this configuration at runtime.
-+
+@@ -28,12 +28,12 @@ daemonize no
+ # When running daemonized, Redis Sentinel writes a pid file in
+ # /var/run/redis-sentinel.pid by default. You can specify a custom pid file
+ # location here.
+-pidfile /var/run/redis-sentinel.pid
++pidfile /run/redis-sentinel.pid
+
+ # Specify the log file name. Also the empty string can be used to force
+ # Sentinel to log on the standard output. Note that if you use standard
+ # output for logging but daemonize, logs will be sent to /dev/null
+-logfile ""
+logfile "/var/log/redis/sentinel.log"
+
+ # sentinel announce-ip <ip>
+ # sentinel announce-port <port>