diff options
author | Leo P | 2016-04-05 01:13:58 -0400 |
---|---|---|
committer | Leo P | 2016-04-05 01:13:58 -0400 |
commit | f1a6118a225268149a82fde1c64abdf23899f580 (patch) | |
tree | 18d245fc24aadef0b746c11a0820b2d7b00dcc89 /redis.conf-sane-defaults.patch | |
download | aur-f1a6118a225268149a82fde1c64abdf23899f580.tar.gz |
first
Diffstat (limited to 'redis.conf-sane-defaults.patch')
-rw-r--r-- | redis.conf-sane-defaults.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/redis.conf-sane-defaults.patch b/redis.conf-sane-defaults.patch new file mode 100644 index 000000000000..97b1086457e2 --- /dev/null +++ b/redis.conf-sane-defaults.patch @@ -0,0 +1,31 @@ +diff --git a/redis.conf b/redis.conf +index 6efb6ac..344e021 100644 +--- a/redis.conf ++++ b/redis.conf +@@ -45,7 +45,7 @@ + # Examples: + # + # bind 192.168.1.100 10.0.0.1 +-# bind 127.0.0.1 ::1 ++bind 127.0.0.1 ::1 + # + # ~~~ WARNING ~~~ If the computer running Redis is directly exposed to the + # internet, binding to all the interfaces is dangerous and will expose the +@@ -118,7 +118,7 @@ + # On other kernels the period depends on the kernel configuration. + # + # A reasonable value for this option is 60 seconds. +-tcp-keepalive 0 ++tcp-keepalive 60 + + ################################# GENERAL ##################################### + +@@ -243,7 +243,7 @@ + # 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 ################################# + |