Add templated redis
This commit is contained in:
7
rc.redis/redis/template/data/check
Executable file
7
rc.redis/redis/template/data/check
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/execlineb -P
|
||||
|
||||
redirfd -w 2 /dev/null
|
||||
getcwd -E CWD
|
||||
backtick -E port { basename $CWD }
|
||||
backtick -En PING { redis-cli -p $port ping }
|
||||
eltest $PING = PONG
|
Reference in New Issue
Block a user