浏览代码

remove duplicate --config /etc/dehydrated/config (#425)

chansizzle 1 年之前
父节点
当前提交
3bb58326ec
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      debian/resources/letsencrypt.sh

+ 2 - 2
debian/resources/letsencrypt.sh

@@ -4,7 +4,7 @@
 # Mark J Crane <[email protected]>
 # Copyright (C) 2018
 # All Rights Reserved.
-      
+
 #move to script directory so all relative paths work
 cd "$(dirname "$0")"
 
@@ -85,7 +85,7 @@ if [ .$wildcard_domain = ."true" ]; then
 	./dehydrated --cron --domain *.$domain_name --preferred-chain "ISRG Root X1" --algo rsa --alias $domain_alias --config /etc/dehydrated/config --out /etc/dehydrated/certs --challenge dns-01 --hook /etc/dehydrated/hook.sh
 fi
 if [ .$wildcard_domain = ."false" ]; then
-	./dehydrated --cron --alias $domain_alias --preferred-chain "ISRG Root X1" --algo rsa --config /etc/dehydrated/config --config /etc/dehydrated/config --out /etc/dehydrated/certs --challenge http-01
+	./dehydrated --cron --alias $domain_alias --preferred-chain "ISRG Root X1" --algo rsa --config /etc/dehydrated/config --out /etc/dehydrated/certs --challenge http-01
 fi
 
 #make sure the nginx ssl directory exists