This repository was archived by the owner on Aug 22, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ init_cert() {
234
234
fi
235
235
certbot register -m " $RANDOM @$1 " --agree-tos --no-eff-email -n
236
236
# TODO: ecdsa cert will be available from cetbot 1.10+ with args "--key-type ecdsa"
237
- certbot certonly --webroot -w " /var/www/acme" -d $1 -n -q
237
+ certbot certonly --webroot -w " /var/www/acme" -d $1 -n
238
238
(crontab -l 2> /dev/null; echo " 8 7 */4 * * certbot renew -n -q --post-hook \" systemctl restart xray\" >/dev/null 2>&1" ) | crontab -
239
239
}
240
240
@@ -558,8 +558,8 @@ fix_cert() {
558
558
local cf_node=" $( read_json /usr/local/etc/xray/05_inbounds_ss.json ' .inbounds[0].tag' ) "
559
559
local old_domain=" $( read_json /usr/local/etc/xray/05_inbounds_vless.json ' .inbounds[0].tag' ) "
560
560
561
- certbot delete --cert-name ${old_domain} | writeLog >> $log_path
562
- certbot certonly --webroot -w " /var/www/acme" -d ${V2_DOMAIN} --key-type ecdsa -n | writeLog >> $log_path
561
+ certbot delete --cert-name ${old_domain} -n 2>&1 | writeLog >> $log_path
562
+ certbot certonly --webroot -w " /var/www/acme" -d ${V2_DOMAIN} -n 2>&1 | writeLog >> $log_path
563
563
564
564
set_xray " ${uuid} " " ${path} " " ${V2_DOMAIN} " " ${cf_node} "
565
565
set_trojan " ${uuid} " " ${path} tj" " ${V2_DOMAIN} "
You can’t perform that action at this time.
0 commit comments