ansible-role-letsencrypt-ac.../templates/acme-sh-cron-command.sh.j2

21 lines
452 B
Plaintext
Raw Normal View History

#!/bin/bash
if [ -f "/etc/default/acme_sh_request_env" ] ; then
# shellcheck disable=SC1091
. "/etc/default/acme_sh_request_env"
else
exit 1
fi
if [ -f "$ACME_SH_ENV_FILE" ] ; then
# shellcheck source=/dev/null
. "$ACME_SH_ENV_FILE"
else
exit 1
fi
$ACME_SH_BIN --upgrade
2022-05-25 11:02:33 +02:00
$ACME_SH_BIN --cron --home "$ACME_SH_BINDIR" --config-home "$ACME_SH_CONFIG_HOME" --server "$ACME_SH_DEFAULT_CA" > "$ACME_SH_CRON_LOG_FILE" 2>&1
exit $?