1
0
mirror of https://gitlink.org.cn/pooneyy/1Panel-Appstore.git synced 2026-04-25 01:55:17 +08:00
1Panel-Appstore/apps/topiam-ce/2.0.0/scripts/init.sh

15 lines
230 B
Bash

#!/bin/bash
if [ -f .env ]; then
source .env
mkdir -p "$TOPIAM_CE_ROOT_PATH"
mkdir -p "$TOPIAM_CE_ROOT_PATH/logs"
chmod -R 777 "$TOPIAM_CE_ROOT_PATH"
echo "Check Finish."
else
echo "Error: .env file not found."
fi