Update redis.conf

Disable UserParameter=redis.version, redis-server --version | cut -d " " -f 3 | cut -d "=" -f 2
Use redis_cli info redis_version
pull/14/head
IgorKonstantinov 2017-01-10 14:55:49 +02:00 committed by GitHub
parent 72d6e36204
commit fdf7d9fca2
1 changed files with 1 additions and 1 deletions

View File

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