1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-18 01:01:02 +08:00

16 lines
274 B
Bash

#!/bin/bash
if [ -f .env ]; then
source .env
if [ ! -d $SEAWEEDFS_ROOT_PATH/prometheus ]; then
mkdir -p $SEAWEEDFS_ROOT_PATH/prometheus
fi
cp -rn ./config/* $SEAWEEDFS_ROOT_PATH/prometheus/
echo "Check Finish."
else
echo "Error: .env file not found."
fi