diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-09-12 18:09:08 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-09-12 18:09:08 +0200 |
commit | 912b891ca07160a56924e91db92e8b4d40aa1175 (patch) | |
tree | 6926b3a08869aede23d8577f9a899a76b4909129 /redis-2.8.15-conf.patch | |
parent | 5d9fa3923a03b577eca13ba60fb95b36d9e5df72 (diff) |
redis: 2.8.15
Diffstat (limited to 'redis-2.8.15-conf.patch')
-rw-r--r-- | redis-2.8.15-conf.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/redis-2.8.15-conf.patch b/redis-2.8.15-conf.patch new file mode 100644 index 0000000..fc5e343 --- /dev/null +++ b/redis-2.8.15-conf.patch @@ -0,0 +1,44 @@ +diff -up redis-2.8.15/redis.conf.rpmconf redis-2.8.15/redis.conf +--- redis-2.8.15/redis.conf.rpmconf 2014-09-12 16:16:58.000000000 +0200 ++++ redis-2.8.15/redis.conf 2014-09-12 17:46:45.918482580 +0200 +@@ -62,6 +62,7 @@ tcp-backlog 511 + # + # bind 192.168.1.100 10.0.0.1 + # bind 127.0.0.1 ++bind 127.0.0.1 + + # Specify the path for the Unix socket that will be used to listen for + # incoming connections. There is no default, so Redis will not listen +@@ -100,7 +101,7 @@ loglevel notice + # Specify the log file name. Also the empty string can be used to force + # Redis 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/redis.log + + # To enable logging to the system logger, just set 'syslog-enabled' to yes, + # and optionally update the other syslog parameters to suit your needs. +@@ -184,7 +185,7 @@ dbfilename dump.rdb + # The Append Only File will also be created inside this directory. + # + # Note that you must specify a directory here, not a file name. +-dir ./ ++dir /var/lib/redis/ + + ################################# REPLICATION ################################# + +diff -up redis-2.8.15/sentinel.conf.rpmconf redis-2.8.15/sentinel.conf +--- redis-2.8.15/sentinel.conf.rpmconf 2014-09-12 17:46:45.918482580 +0200 ++++ redis-2.8.15/sentinel.conf 2014-09-12 17:47:39.512717702 +0200 +@@ -4,6 +4,11 @@ + # 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. Note that if you use standard ++# output for logging but daemonize, logs will be sent to /dev/null ++logfile /var/log/redis/sentinel.log ++ + # sentinel announce-ip <ip> + # sentinel announce-port <port> + # |