Merge pull request #6 from wangjingfei/master
Fix redis problem in UserParameter
This commit is contained in:
commit
8225e90c0d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user