Compare commits

..

No commits in common. "e667946b06391709f6e5df257ac783e4cfc1d52a" and "87af2b97365bc9122335f925f5af9af278692fc9" have entirely different histories.

2 changed files with 2 additions and 12 deletions

View file

@ -18,5 +18,4 @@ pipeline:
event: push
matrix:
ALPINE_VERSION:
- 3.16.1
- 3.15.5
- 3.15.4

View file

@ -6,15 +6,12 @@ if test -z "${NODES}"; then
fi
lock=/tmp/certbot.lck
updated=false
ensure() {
test -n "$1" && echo "$1 received, exiting gracefully..."
rm -f "${lock}"
${updated} || exit 0
# Fix permissions, users in group ssl have read access
find /etc/letsencrypt -type d | xargs -r chmod 2750
find /etc/letsencrypt -type f | xargs -r chmod 640
@ -41,7 +38,6 @@ case $1 in
# Renew certificates, trust in certbot's algorithms
renew)
/usr/bin/certbot renew --quiet --agree-tos
updated=true
;;
bootstrap)
for site in ${SUTTY} api.${SUTTY}; do
@ -57,11 +53,7 @@ case $1 in
cd /etc/letsencrypt/live
ln -s ${SUTTY} default
done
updated=true
;;
done ;;
# Generate certificates
*)
# Only one instance can run at a time
@ -101,7 +93,6 @@ case $1 in
--agree-tos \
--webroot-path /var/lib/letsencrypt \
-d "${domain}"
updated=true
done
esac