Skip to content

Commit

Permalink
fix certificate update script
Browse files Browse the repository at this point in the history
  • Loading branch information
paskal committed May 8, 2024
1 parent 501d09b commit cc68cbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/update-dns-token.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ set -e -u

# write down new token
sed -i "s/.*\AUTH_KEY.*/\AUTH_KEY=$($HOME/yandex-cloud/bin/yc iam create-token)/" "./private/environment/dnsrobocert.env"
docker compose up -d certbot
# make certbot and zabbix-agent read new AUTH_KEY
docker compose up -d certbot zabbix-agent

0 comments on commit cc68cbe

Please sign in to comment.