Add the IPv6 listener once, so a restarted console starts #139

Merged
jcoffey-dev merged 1 commits from fix/listen-ipv6-once into main 2026-10-28 22:19:58 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev ee96410828 Add the IPv6 listener once, so a restarted console starts
ci / build (pull_request) Skipped
ci / publish (pull_request) Skipped
ci / notices (pull_request) Successful in 23s
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 1m27s
listen-ipv6.sh writes "listen       [::]:8080;" and then looked for
"listen [::]:8080" with one space, so the check never matched. A new
container was fine; restarting the same one (a reboot, docker restart, or
an installer that stops and starts the stack) added a second listener,
and nginx refused the duplicate and restarted in a loop. The check now
allows any number of spaces.

docker/listen-ipv6.test.sh runs the script on nginx.conf three times and
checks for one IPv6 listener; CI runs it.

Claude-Session: https://claude.ai/code/session_01Y2F7CWRXorttf5sjSbxwpj
2026-10-28 15:18:08 -07:00