From 591c3d7d8aba1fd95f34bfee23013cb0137adbd4 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 20 Oct 2016 21:45:02 +0100 Subject: [PATCH] non-interactive --- src/freedombone-addcert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-addcert b/src/freedombone-addcert index c4f72bc9..60ec956d 100755 --- a/src/freedombone-addcert +++ b/src/freedombone-addcert @@ -206,7 +206,7 @@ function add_cert_letsencrypt { # stop the web server systemctl stop nginx - certbot certonly --server $LETSENCRYPT_SERVER --standalone -d $LETSENCRYPT_HOSTNAME --renew-by-default --agree-tos --email $MY_EMAIL_ADDRESS + certbot certonly -n --server $LETSENCRYPT_SERVER --standalone -d $LETSENCRYPT_HOSTNAME --renew-by-default --agree-tos --email $MY_EMAIL_ADDRESS if [ ! "$?" = "0" ]; then echo $"Failed to install letsencrypt for domain $LETSENCRYPT_HOSTNAME" systemctl start nginx