mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-16 13:21:56 +08:00
19 lines
285 B
Bash
19 lines
285 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
if [[ -f .env ]]; then
|
||
|
source .env
|
||
|
|
||
|
keys
|
||
|
mkdir -p "$SP_TRACKER_ROOT_PATH"
|
||
|
|
||
|
mkdir -p "$SP_TRACKER_ROOT_PATH/conf"
|
||
|
mkdir -p "$SP_TRACKER_ROOT_PATH/conf/keys"
|
||
|
|
||
|
chmod $PUID:$PGID -R "$SP_TRACKER_ROOT_PATH"
|
||
|
|
||
|
echo "Check Finish."
|
||
|
|
||
|
else
|
||
|
echo ".env not found."
|
||
|
fi
|