new: Use valkey is possible
parent
55c0dcc0a3
commit
9bfe809f83
File diff suppressed because it is too large
Load Diff
|
@ -3,4 +3,11 @@
|
||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
../../redis/src/redis-server ./cache.conf
|
if [ -f ../../valkey/src/valkey-server ]; then
|
||||||
|
../../valkey/src/valkey-server ./cache.conf
|
||||||
|
elif [ -f ../../redis/src/redis-server ]; then
|
||||||
|
../../redis/src/redis-server ./cache.conf
|
||||||
|
else
|
||||||
|
echo "Warning: using system redis-server. Valkey-server or redis-server from source is recommended." >&2
|
||||||
|
/usr/bin/redis-server ./cache.conf
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue