ADR 0593 §7: the composer with its refusals leaves mesh-sdk, so mesh-sdk carries no composition rule. The catalogue functions only the node-engine's composition reaches (Resolve, Resolution's Compose, Declaration, DataItems, LeftOut, Rules and the rest, the settings, placeholder and template refusals, the rendering helpers) are copied with their tests into internal/compose/resolution; a method of a mesh-sdk shape becomes a function taking it first. The composition calls its own copies, and the captured catalogue its tests read lives here now, shared by mesh-compose's tests. Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
15 lines
676 B
Plaintext
15 lines
676 B
Plaintext
# Written by the mesh (module dnsmasq, novox/hq issue 348). Replaced on every push.
|
|
#
|
|
# The resolver binds its addresses once, at start (bind-interfaces), so it starts only once this
|
|
# machine's private address is there: it waits up to 80 seconds for it, and a start that found it
|
|
# missing is tried again every ten seconds rather than left failed.
|
|
[Unit]
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
StartLimitIntervalSec=0
|
|
|
|
[Service]
|
|
ExecStartPre=/usr/bin/sh -c 'for i in $(seq 1 80); do ip -4 -o addr show to ${machine:address} | grep -q . && exit 0; sleep 1; done; echo "${machine:address} is not on this machine" >&2; exit 1'
|
|
Restart=on-failure
|
|
RestartSec=10s
|