bind redis data volume

This commit is contained in:
Georges-Antoine Assi
2024-03-12 02:07:31 +00:00
parent c789c42ce3
commit e024fc987f
3 changed files with 6 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ start_bin_redis-server () {
if [ -f /usr/local/etc/redis/redis.conf ]; then
redis-server /usr/local/etc/redis/redis.conf &
else
redis-server &
redis-server --dir /redis-data &
fi
REDIS_PID=$!
echo $REDIS_PID > /tmp/redis-server.pid