Fix redis problem in UserParameter
This commit is contained in:
parent
1d532b564e
commit
eb5faaed3b
@ -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