Commit f48f3130 authored by Vitaly Lipatov's avatar Vitaly Lipatov

vz/azbyka/createbytask.int.sh: fix

parent 261782c6
...@@ -364,6 +364,7 @@ tune_local_memcached_redis() ...@@ -364,6 +364,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|^protected-mode yes|protected-mode no|' /etc/redis/redis.conf
subst 's|^# save ""|save ""|' /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