~tardypad/alpine-system

e785b3711339d026927fd407d80fb6c4e27baeec — Damien Tardy-Panis 4 months ago e497ad7
tardypad.me: only fetch certificates and restart when being installed on chestnut

Both would fail when testing the install on the container
2 files changed, 5 insertions(+), 1 deletions(-)

M builds/tardypad.me/APKBUILD
M builds/tardypad.me/tardypad.me.post-install
M builds/tardypad.me/APKBUILD => builds/tardypad.me/APKBUILD +1 -1
@@ 1,7 1,7 @@
# Maintainer: Damien Tardy-Panis <damien.dev@tardypad.me>
pkgname="tardypad.me"
pkgver=0_git-r163
pkgrel=0
pkgrel=1
_commit=2eadd454e7683c02ff76ec783a5c9950abe99fef
pkgdesc="tardypad.me websites"
url="https://sr.ht/~tardypad/tardypad.me/"

M builds/tardypad.me/tardypad.me.post-install => builds/tardypad.me/tardypad.me.post-install +4 -0
@@ 1,5 1,9 @@
#!/bin/sh

if [ "$( hostname )" != 'chestnut' ]; then
  exit 0
fi

# fetch all certificates
certbot certonly \
  --standalone --non-interactive --keep-until-expiring \