File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -908,6 +908,10 @@ const internalCertificate = {
908908 mainCmd = 'AWS_CONFIG_FILE=\'' + credentialsLocation + '\' ' + mainCmd ;
909909 }
910910
911+ if ( certificate . meta . dns_provider === 'duckdns' ) {
912+ mainCmd = mainCmd + ' --dns-duckdns-no-txt-restore' ;
913+ }
914+
911915 logger . info ( 'Command:' , `${ credentialsCmd } && ${ prepareCmd } && ${ mainCmd } ` ) ;
912916
913917 return utils . exec ( credentialsCmd )
@@ -1012,7 +1016,7 @@ const internalCertificate = {
10121016
10131017 logger . info ( `Renewing Let'sEncrypt certificates via ${ dns_plugin . display_name } for Cert #${ certificate . id } : ${ certificate . domain_names . join ( ', ' ) } ` ) ;
10141018
1015- let mainCmd = certbotCommand + ' renew ' +
1019+ let mainCmd = certbotCommand + ' renew --force-renewal ' +
10161020 '--config "' + letsencryptConfig + '" ' +
10171021 '--work-dir "/tmp/letsencrypt-lib" ' +
10181022 '--logs-dir "/tmp/letsencrypt-log" ' +
You can’t perform that action at this time.
0 commit comments