47,10 → 47,11 |
fi |
|
$DEBUG && debugOpt=" --debug" || debugOpt="" |
[ ! -z "$DNS_API" ] && dnsApiOpt="$DNS_API" || dnsApiOpt="--yes-I-know-dns-manual-mode-enough-go-ahead-please" |
$ACMESH_BIN --config-home $ACMESH_HOME/data \ |
$STAGING_SERVER $FORCE $debugOpt \ |
$emailField \ |
--issue --dns $DNS_API -d $DOMAIN \ |
--issue --dns $dnsApiOpt -d $DOMAIN \ |
$OPT_PARAMS \ |
> $TMP_OUTPUT 2>&1 |
exitCode=$? |
89,9 → 90,10 |
TMP_OUTPUT=$(mktemp --suffix=_ALCASAR-LE) |
|
$DEBUG && debugOpt=" --debug" || debugOpt="" |
[ ! -z "$DNS_API" ] && dnsApiOpt="" || dnsApiOpt="--yes-I-know-dns-manual-mode-enough-go-ahead-please" |
$ACMESH_BIN --config-home $ACMESH_HOME/data \ |
$STAGING_SERVER $FORCE $debugOpt \ |
--renew -d $DOMAIN \ |
--renew -d $DOMAIN $dnsApiOpt \ |
$OPT_PARAMS \ |
> $TMP_OUTPUT 2>&1 |
exitCode=$? |
209,10 → 211,7 |
# MAIN # |
################################################################################ |
|
nb_args=$# |
args=$1 |
|
if [ $nb_args -eq 0 ]; then |
if [ $# -eq 0 ]; then |
echo "$usage" |
exit 1 |
fi |