#!/bin/sh set -e # Validate required environment variables. echo "Target domains for Certification are $CERT_DOMAINS." echo "E-main for Certification are $CERT_EMAIL." export CERT_OPTIONS if [ "$CERT_STAGING" == true ]; then CERT_OPTIONS="--staging" fi echo "Cert option is [$CERT_OPTIONS]" run_certbot.sh exec "$@"