disable redis persistence

This commit is contained in:
alexeybannov 2019-03-01 13:10:54 +00:00
parent 1676562123
commit 689f93f8af
1 changed files with 2 additions and 0 deletions

View File

@ -367,6 +367,8 @@ fi
if [ -e /etc/redis/redis.conf ]; then
sed -i "s/bind .*/bind 127.0.0.1/g" /etc/redis/redis.conf
redis-cli config set save ""
redis-cli config rewrite
fi