Skip to content

Commit

Permalink
fix: use the right config file...
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Oct 17, 2024
1 parent d5eb983 commit d83dd16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions whowas/run_redis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ set -e
set -x

if [ -f ../../valkey/src/valkey-server ]; then
../../valkey/src/valkey-server ./cache.conf
../../valkey/src/valkey-server ./whowas.conf
elif [ -f ../../redis/src/redis-server ]; then
../../redis/src/redis-server ./cache.conf
../../redis/src/redis-server ./whowas.conf
else
echo "Warning: using system redis-server. Valkey-server or redis-server from source is recommended." >&2
/usr/bin/redis-server ./cache.conf
/usr/bin/redis-server ./whowas.conf
fi

0 comments on commit d83dd16

Please sign in to comment.