Update redis.conf

Disable UserParameter=redis.version, redis-server --version | cut -d " " -f 3 | cut -d "=" -f 2
Use redis_cli info redis_version
This commit is contained in:
IgorKonstantinov 2017-01-10 14:55:49 +02:00 committed by GitHub
parent 72d6e36204
commit fdf7d9fca2

View File

@ -1,3 +1,3 @@
UserParameter=redis[*],redis-cli info | grep $1":" | cut -d ':' -f 2 UserParameter=redis[*],redis-cli info | grep $1":" | cut -d ':' -f 2
UserParameter=redis-ping,redis-cli ping | grep -c PONG UserParameter=redis-ping,redis-cli ping | grep -c PONG
UserParameter=redis.version, redis-server --version | cut -d " " -f 3 | cut -d "=" -f 2