Commit Graph

3 Commits

Author SHA1 Message Date
e82322ebcf Revert "fix: symlink /etc/dns to /config/dns at build time, drop entrypoint"
This reverts commit ed54778a0d.
2026-08-08 07:43:51 -04:00
ed54778a0d fix: symlink /etc/dns to /config/dns at build time, drop entrypoint
rm -rf the real /etc/dns dir before symlinking so it replaces rather
than nests. Technitium now writes directly to the persistent
addon_config mount — no entrypoint shim needed.
2026-08-08 07:36:58 -04:00
69fa61bfd3 fix: persist config across restarts
- root cause: Technitium image ships /etc/dns as a real directory, so the
  build-time 'ln -sf /data/dns /etc/dns' created the symlink INSIDE it
  (/etc/dns/dns) instead of replacing it. Technitium kept writing to the
  ephemeral container directory and lost everything on restart.
- fix: add entrypoint.sh that runs at container start (after HA mounts
  volumes), removes the real /etc/dns dir, and symlinks it to /config/dns
  (the persistent addon_config mount). Seeds defaults on first run only.
- bump version to 15.4.2
2026-08-08 07:30:06 -04:00