exit 0
;;
c)
- set_command cron
+ set_command sign_domains
;;
e)
set_command env
# PARAM_Usage: --domain (-d) domain.tld
# PARAM_Description: Use specified domain name instead of domains.txt, use multiple times for certificate with SAN names
check_parameters "${OPTARG:-}"
+ set_command sign_domains
if [[ -z "${PARAM_DOMAIN:-}" ]]; then
PARAM_DOMAIN="${OPTARG}"
else
init_system
case "${COMMAND}" in
- cron)
+ sign_domains)
command_sign_domains
;;
env)