|
#!/bin/bash
|
|
|
|
ACME_LETSENCRYPT_HOOKS_DIR=/usr/lib/acme/hooks
|
|
|
|
if [ -f "/etc/default/acme_sh_request_env" ] ; then
|
|
source "/etc/default/acme_sh_request_env"
|
|
else
|
|
exit 1
|
|
fi
|
|
|
|
for script in "${ACME_LETSENCRYPT_HOOKS_DIR}"/* ; do
|
|
if [ -x "$script" ] ; then
|
|
$script
|
|
fi
|
|
done
|