Files
s6/rc.redis/redis/template/data/check
2025-06-14 22:13:48 +02:00

8 lines
159 B
Plaintext
Executable File

#!/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