12 lines
195 B
Bash
Executable File
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 * |