Skip to content

Commit adfe04c

Browse files
authored
Merge pull request #83 from linuxserver/sed
fix the right inis
2 parents d075d3e + a84c688 commit adfe04c

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,10 +326,11 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
326326

327327
## Versions
328328

329+
* **10.02.21:** - Fix aliyun, domeneshop, inwx and transip dns confs for existing users.
329330
* **09.02.21:** - Rebasing to alpine 3.13. Add nginx mods brotli and dav-ext. Remove nginx mods lua and lua-upstream (due to regression over the last couple of years).
330331
* **26.01.21:** - Add support for hetzner dns validation.
331332
* **20.01.21:** - Add check for ZeroSSL EAB retrieval.
332-
* **08.01.21:** - Add support for getting certs from [ZeroSSL](https://zerossl.com/) via optional `CERTPROVIDER` env var. Update aliyun, domeneshop, inxw and transip dns plugins with the new plugin names. Hide `donoteditthisfile.conf` because users were editing it despite its name. Suppress harmless error when no proxy confs are enabled.
333+
* **08.01.21:** - Add support for getting certs from [ZeroSSL](https://zerossl.com/) via optional `CERTPROVIDER` env var. Update aliyun, domeneshop, inwx and transip dns plugins with the new plugin names. Hide `donoteditthisfile.conf` because users were editing it despite its name. Suppress harmless error when no proxy confs are enabled.
333334
* **03.01.21:** - [Existing users should update:](https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs) /config/nginx/site-confs/default - Add helper pages to aid troubleshooting
334335
* **10.12.20:** - Add support for njalla dns validation
335336
* **09.12.20:** - Check for template/conf updates and notify in the log. Add support for gehirn and sakuracloud dns validation.

readme-vars.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,11 @@ app_setup_nginx_reverse_proxy_block: ""
151151

152152
# changelog
153153
changelogs:
154+
- { date: "10.02.21:", desc: "Fix aliyun, domeneshop, inwx and transip dns confs for existing users." }
154155
- { date: "09.02.21:", desc: "Rebasing to alpine 3.13. Add nginx mods brotli and dav-ext. Remove nginx mods lua and lua-upstream (due to regression over the last couple of years)." }
155156
- { date: "26.01.21:", desc: "Add support for hetzner dns validation." }
156157
- { date: "20.01.21:", desc: "Add check for ZeroSSL EAB retrieval." }
157-
- { date: "08.01.21:", desc: "Add support for getting certs from [ZeroSSL](https://zerossl.com/) via optional `CERTPROVIDER` env var. Update aliyun, domeneshop, inxw and transip dns plugins with the new plugin names. Hide `donoteditthisfile.conf` because users were editing it despite its name. Suppress harmless error when no proxy confs are enabled." }
158+
- { date: "08.01.21:", desc: "Add support for getting certs from [ZeroSSL](https://zerossl.com/) via optional `CERTPROVIDER` env var. Update aliyun, domeneshop, inwx and transip dns plugins with the new plugin names. Hide `donoteditthisfile.conf` because users were editing it despite its name. Suppress harmless error when no proxy confs are enabled." }
158159
- { date: "03.01.21:", desc: "[Existing users should update:](https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs) /config/nginx/site-confs/default - Add helper pages to aid troubleshooting" }
159160
- { date: "10.12.20:", desc: "Add support for njalla dns validation" }
160161
- { date: "09.12.20:", desc: "Check for template/conf updates and notify in the log. Add support for gehirn and sakuracloud dns validation." }

root/etc/cont-init.d/50-config

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,10 @@ else
194194
fi
195195

196196
# update plugin names in dns conf inis
197-
sed -i 's|^certbot_dns_aliyun:||g' /defaults/dns-conf/aliyun.ini
198-
sed -i 's|^certbot_dns_domeneshop:||g' /defaults/dns-conf/domeneshop.ini
199-
sed -i 's|^certbot_dns_inwx:||g' /defaults/dns-conf/inwx.ini
200-
sed -i 's|^certbot_dns_transip:||g' /defaults/dns-conf/transip.ini
197+
sed -i 's|^certbot_dns_aliyun:||g' /config/dns-conf/aliyun.ini
198+
sed -i 's|^certbot_dns_domeneshop:||g' /config/dns-conf/domeneshop.ini
199+
sed -i 's|^certbot_dns_inwx:||g' /config/dns-conf/inwx.ini
200+
sed -i 's|^certbot_dns_transip:||g' /config/dns-conf/transip.ini
201201

202202
# setting the validation method to use
203203
if [ "$VALIDATION" = "dns" ]; then

0 commit comments

Comments
 (0)