
Disable UserParameter=redis.version, redis-server --version | cut -d " " -f 3 | cut -d "=" -f 2 Use redis_cli info redis_version
4 lines
125 B
Plaintext
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
|
|
|