IgorKonstantinov fdf7d9fca2 Update redis.conf
Disable UserParameter=redis.version, redis-server --version | cut -d " " -f 3 | cut -d "=" -f 2
Use redis_cli info redis_version
2017-01-10 14:55:49 +02:00

4 lines
125 B
Plaintext

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