Collection of cookbooks for Podman Quadlets
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
383 B

#!/bin/bash
set -Eeuo pipefail
for hook in /etc/quadlets/lego/renew-hooks.d/*.sh; do
if [[ -x "$hook" ]]; then
echo "Running renew hook: $hook"
if ! "$hook"; then
echo "Error: Renew hook failed: $hook" >&2
fi
else
echo "Skipping non-executable hook: $hook"
fi
done
rm -f /var/lib/quadlets/lego/certificates/*.renewed
exit 0