1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-20 04:21:05 +08:00
github-action update-app-version 3de4984dc8 Update app version [skip ci]
2025-01-06 20:54:57 +00:00

19 lines
320 B
Bash

#!/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