fix: update metrics deploy script (#32073)

fix: cert path
This commit is contained in:
Yihau Chen 2023-06-12 21:57:34 +08:00 committed by GitHub
parent 40d1b2409b
commit a52ca5d38e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -39,9 +39,9 @@ done
docker network remove influxdb || true
docker network create influxdb
pwd
rm -rf certs
mkdir -p certs
chmod 700 certs
rm -rf "$here/certs"
mkdir -p "$here/certs"
chmod 700 "$here/certs"
sudo cp /etc/letsencrypt/live/"$HOST"/fullchain.pem "$here/certs/"
sudo cp /etc/letsencrypt/live/"$HOST"/privkey.pem "$here/certs/"
sudo chmod 0444 "$here/certs/*"