local-letsencrypt/client/dehydrated-hook.sh

12 lines
221 B
Bash
Executable File

#!/bin/bash
CERTBOT_DOMAIN="$2"
CERTBOT_VALIDATION="$4"
case $1 in
deploy_challenge)
. $(dirname $(realpath $0))/install-hook.sh ;;
cleanup_challenge)
. $(dirname $(realpath $0))/cleanup-hook.sh ;;
esac