2020-05-17 16:39:11 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [ -f "/etc/default/acme_sh_request_env" ] ; then
|
2021-09-28 12:36:31 +02:00
|
|
|
# shellcheck disable=SC1091
|
2020-05-17 16:39:11 +02:00
|
|
|
. "/etc/default/acme_sh_request_env"
|
|
|
|
else
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -f "$ACME_SH_ENV_FILE" ] ; then
|
2021-09-28 12:36:31 +02:00
|
|
|
# shellcheck source=/dev/null
|
2020-05-17 16:39:11 +02:00
|
|
|
. "$ACME_SH_ENV_FILE"
|
|
|
|
else
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
$ACME_SH_BIN --cron --home "$ACME_SH_BINDIR" --config-home "$ACME_SH_CONFIG_HOME" > "$ACME_SH_CRON_LOG_FILE" 2>&1
|
|
|
|
|
|
|
|
exit $?
|