Fix redis problem in UserParameter

This commit is contained in:
王景飞 2016-07-01 14:35:57 +08:00
parent 1d532b564e
commit eb5faaed3b

View File

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