FBA-DeploymentScripts/patch.sh

12 lines
219 B
Bash
Raw Normal View History

2020-12-09 22:00:20 +00:00
#!/bin/bash
REMOTE_URL="https://minio2.hibas123.de/share/fba-patch.tar"
RESULT_DIR=/var/lib/caddy/
wget $REMOTE_URL
FILE_PATH=$(pwd)/fba-patch.tar
cd RESULT_DIR
tar --overwrite -xvf $FILE_PATH
chown -R caddy:caddy *