aboutsummaryrefslogtreecommitdiffstats
path: root/main/redis/sentinel.conf.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-05-16 00:22:13 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-05-16 00:29:44 +0200
commitc28bfa6688edf662275b96f0fec3042098f4defb (patch)
treeeae74e61374527046e95837582ca41654293dfe3 /main/redis/sentinel.conf.patch
parent9eb6b73c74302111d40228d99cc9ee789b226497 (diff)
downloadaports-c28bfa6688edf662275b96f0fec3042098f4defb.tar.gz
aports-c28bfa6688edf662275b96f0fec3042098f4defb.tar.bz2
aports-c28bfa6688edf662275b96f0fec3042098f4defb.tar.xz
main/redis: add init script and config for sentinel
Ref #8877 (https://bugs.alpinelinux.org/issues/8877)
Diffstat (limited to 'main/redis/sentinel.conf.patch')
-rw-r--r--main/redis/sentinel.conf.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/redis/sentinel.conf.patch b/main/redis/sentinel.conf.patch
new file mode 100644
index 0000000000..ce092b63c1
--- /dev/null
+++ b/main/redis/sentinel.conf.patch
@@ -0,0 +1,13 @@
+--- a/sentinel.conf
++++ b/sentinel.conf
+@@ -20,6 +20,10 @@
+ # The port that this sentinel instance will run on
+ port 26379
+
++# Specify the log file name. Also the empty string can be used to force
++# Redis to log on the standard output.
++logfile /var/log/redis/sentinel.log
++
+ # sentinel announce-ip <ip>
+ # sentinel announce-port <port>
+ #