Skip LE with configuration parameter

master
andryyy 2017-06-22 09:06:24 +02:00
parent cbfe5e879e
commit 856b05147c
1 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,11 @@
#!/bin/bash
if [[ ! "${SKIP_LETS_ENCRYPT}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
echo "Skipping Let's Encrypt..."
exit 0
fi
ACME_BASE=/var/lib/acme
SSL_EXAMPLE=/var/lib/ssl-example
mkdir -p ${ACME_BASE}/acme/private