fixed --yesinstall typo

This commit is contained in:
2019-10-21 16:14:48 +02:00
parent cf8fd6a008
commit 0c779980b0
9 changed files with 19 additions and 19 deletions

View File

@@ -61,7 +61,7 @@ if [ "$vh" = "y" ]; then
# lets'encrypt
# https://certbot.eff.org/lets-encrypt/debianstretch-nginx
if [ "$_letsencrypt" = "yes" ]; then
apt-get --yesinstall certbot
apt-get --yes install certbot
certbot certonly --standalone -d "$_domain" --cert-name "$_domain"
# TODO stop the whole process if letsencrypt faile
mkdir -p /etc/nginx/ssl/certs/"$_domain"