Kaynağa Gözat

non-interactive

Bob Mottram 8 yıl önce
ebeveyn
işleme
591c3d7d8a
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      src/freedombone-addcert

+ 1
- 1
src/freedombone-addcert Dosyayı Görüntüle

206
     # stop the web server
206
     # stop the web server
207
     systemctl stop nginx
207
     systemctl stop nginx
208
 
208
 
209
-    certbot certonly --server $LETSENCRYPT_SERVER --standalone -d $LETSENCRYPT_HOSTNAME --renew-by-default --agree-tos --email $MY_EMAIL_ADDRESS
209
+    certbot certonly -n --server $LETSENCRYPT_SERVER --standalone -d $LETSENCRYPT_HOSTNAME --renew-by-default --agree-tos --email $MY_EMAIL_ADDRESS
210
     if [ ! "$?" = "0" ]; then
210
     if [ ! "$?" = "0" ]; then
211
         echo $"Failed to install letsencrypt for domain $LETSENCRYPT_HOSTNAME"
211
         echo $"Failed to install letsencrypt for domain $LETSENCRYPT_HOSTNAME"
212
         systemctl start nginx
212
         systemctl start nginx