Commit c502cbe8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

createbytask.int.sh: fix for redis

parent 5a302bf8
...@@ -340,6 +340,7 @@ tune_local_memcached_redis() ...@@ -340,6 +340,7 @@ tune_local_memcached_redis()
{ {
# for access from sitebox # for access from sitebox
subst 's|^bind 127.0.0.1|bind 0.0.0.0|' /etc/redis/redis.conf subst 's|^bind 127.0.0.1|bind 0.0.0.0|' /etc/redis/redis.conf
subst 's|^protected-mode yes|protected-mode no|' /etc/redis/redis.conf
subst 's|^LISTEN="127.0.0.1"|LISTEN="0.0.0.0"|' /etc/sysconfig/memcached subst 's|^LISTEN="127.0.0.1"|LISTEN="0.0.0.0"|' /etc/sysconfig/memcached
serv redis on serv redis on
serv memcached on serv memcached on
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment