From e5c70f384da6c4a7f28337aa1146f81c688cee3f Mon Sep 17 00:00:00 2001 From: jsebt <26907216+jsebt@users.noreply.github.com> Date: Mon, 8 Jul 2024 18:06:31 -0400 Subject: [PATCH 1/2] fix ddclient cache issue ddclient expects a file for --cache, not a directory without this fix, ddclient is unable to use /run/ddclient-cache as it's a directory, causing the IP's to be sent to your DNS provider every X minutes, instead of only if it changed --- root/etc/s6-overlay/s6-rc.d/svc-ddclient/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/s6-overlay/s6-rc.d/svc-ddclient/run b/root/etc/s6-overlay/s6-rc.d/svc-ddclient/run index 451ed06..9f492ab 100755 --- a/root/etc/s6-overlay/s6-rc.d/svc-ddclient/run +++ b/root/etc/s6-overlay/s6-rc.d/svc-ddclient/run @@ -2,4 +2,4 @@ # shellcheck shell=bash exec \ - s6-setuidgid abc /usr/bin/ddclient --foreground --file /config/ddclient.conf --cache /run/ddclient-cache + s6-setuidgid abc /usr/bin/ddclient --foreground --file /config/ddclient.conf --cache /run/ddclient-cache/ddclient.cache From cb633621c75ced5c6e408d3947724b0d009395d7 Mon Sep 17 00:00:00 2001 From: jsebt <26907216+jsebt@users.noreply.github.com> Date: Mon, 8 Jul 2024 18:13:47 -0400 Subject: [PATCH 2/2] edit changelog --- readme-vars.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/readme-vars.yml b/readme-vars.yml index afa1736..d3cb78e 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -33,6 +33,7 @@ app_setup_block: | ```` # changelog changelogs: + - {date: "08.07.24:", desc: "Fix cache issue."} - {date: "08.07.24:", desc: "Don't copy config from `/config/ddclient.conf` to `/ddclient.conf` at runtime."} - {date: "27.06.24:", desc: "Rebase to Alpine 3.20."} - {date: "23.12.23:", desc: "Rebase to Alpine 3.19."}