infrastructure/playbooks/roles/lego/files/hook.sh

7 lines
176 B
Bash
Raw Normal View History

2024-09-26 22:02:36 +00:00
#!/usr/bin/env sh
cp -f "$LEGO_CERT_PATH" /certificates
cp -f "$LEGO_CERT_KEY_PATH" /certificates
exit 33 # special exit code to signal that the certificate has been updated