Merge pull request #6 from wangjingfei/master

Fix redis problem in UserParameter
This commit is contained in:
Kamil Porembiński 2016-07-04 07:50:55 +02:00 committed by GitHub
commit 8225e90c0d

View File

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