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:
parent
72d6e36204
commit
fdf7d9fca2
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user