FBA-DeploymentScripts/files.sh
2020-12-09 23:06:41 +01:00

12 lines
195 B
Bash
Executable File

#!/bin/bash
REMOTE_URL="https://minio2.hibas123.de/share/fba.tar"
RESULT_DIR=/var/lib/caddy/
wget $REMOTE_URL
FILE_PATH=$(pwd)/fba.tar
cd RESULT_DIR
tar -xvf $FILE_PATH
chown -R caddy:caddy *