Skip to content

fix(spore): wait for tailscaled before nginx config reload#429

Merged
stackptr merged 1 commit intomainfrom
fix/spore-nginx-tailscale-ordering
Apr 9, 2026
Merged

fix(spore): wait for tailscaled before nginx config reload#429
stackptr merged 1 commit intomainfrom
fix/spore-nginx-tailscale-ordering

Conversation

@stackptr
Copy link
Copy Markdown
Owner

@stackptr stackptr commented Apr 9, 2026

Summary

  • nginx-config-reload.service was failing during activation when Tailscale restarted mid-deploy (e.g. after a package update), causing nginx -t to fail with host not found in upstream "glyph.rove-duck.ts.net"
  • Adds a soft wants/after dependency on tailscaled.service so systemd orders the nginx reload after Tailscale is up
  • wants (not requires) means activation won't fail if Tailscale isn't present on the host

Test plan

  • Deploy to spore and verify nginx-config-reload.service succeeds even when Tailscale restarts during activation

🤖 Generated with Claude Code

During activation, if Tailscale restarts (e.g. after a package update),
nginx-config-reload.service can run while MagicDNS is temporarily
unavailable, causing nginx -t to fail with "host not found in upstream".

Adding a soft dependency on tailscaled.service ensures systemd orders
the reload after Tailscale is up.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@stackptr stackptr enabled auto-merge (squash) April 9, 2026 22:07
@stackptr stackptr merged commit 6448c7d into main Apr 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant