소스 검색

non-interactive

Bob Mottram 9 년 전
부모
커밋
591c3d7d8a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/freedombone-addcert

+ 1
- 1
src/freedombone-addcert 파일 보기

@@ -206,7 +206,7 @@ function add_cert_letsencrypt {
206 206
     # stop the web server
207 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 210
     if [ ! "$?" = "0" ]; then
211 211
         echo $"Failed to install letsencrypt for domain $LETSENCRYPT_HOSTNAME"
212 212
         systemctl start nginx