Skip to content

Commit

Permalink
Use the directory name as the certificate name for uploads
Browse files Browse the repository at this point in the history
tomhughes committed Oct 13, 2023
1 parent 3d13731 commit 6cb1361
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cookbooks/letsencrypt/files/default/bin/renew-hook
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash

domains=($RENEWED_DOMAINS)

exec 2>&1

exec /srv/acme.openstreetmap.org/bin/upload "${domains[0]}" "$RENEWED_LINEAGE"
exec /srv/acme.openstreetmap.org/bin/upload "$(basename $RENEWED_LINEAGE)" "$RENEWED_LINEAGE"

0 comments on commit 6cb1361

Please sign in to comment.