lookyloo/indexing/run_redis.sh

14 lines
274 B
Bash
Raw Normal View History

#!/bin/bash
set -e
set -x
2024-04-29 17:09:22 +02:00
if [ -f ../../valkey/src/valkey-server ]; then
../../valkey/src/valkey-server ./indexing.conf
elif [ -f ../../redis/src/redis-server ]; then
2024-04-29 17:09:22 +02:00
../../redis/src/redis-server ./indexing.conf
else
/usr/bin/redis-server ./indexing.conf
2024-04-29 17:09:22 +02:00
fi