✨ feat(redis): update redis versions to latest releases
- update redis 6.2.18 to 6.2.20 - update redis 7.4.4 to 7.4.6
This commit is contained in:
18
apps/redis/7.4.6/scripts/init.sh
Normal file
18
apps/redis/7.4.6/scripts/init.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
mkdir -p "$REDIS_ROOT_PATH"
|
||||
|
||||
mkdir -p "$REDIS_ROOT_PATH/data"
|
||||
mkdir -p "$REDIS_ROOT_PATH/config"
|
||||
mkdir -p "$REDIS_ROOT_PATH/logs"
|
||||
|
||||
cp ./config/redis.conf "$REDIS_ROOT_PATH/config/redis.conf"
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
Reference in New Issue
Block a user