all repos — char/flake @ 8fcb2ce3a4224dd3119f778dc0302ae3cb1f4235

Unnamed repository; edit this file 'description' to name the repository.

home assistant ts serve: retry if we need to
Charlotte Som charlotte@som.codes
Wed, 15 Jul 2026 17:52:48 +0100
commit

8fcb2ce3a4224dd3119f778dc0302ae3cb1f4235

parent

a266522d7884322d03ca676c535f353b01de1502

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M profiles/runestone/home-assistant.nixprofiles/runestone/home-assistant.nix

@@ -37,6 +37,8 @@

serviceConfig = { Type = "oneshot"; RemainAfterExit = true; + Restart = "on-failure"; + RestartSec = "1s"; ExecStartPre = "-${config.services.tailscale.package}/bin/tailscale serve clear svc:home"; ExecStart = "${config.services.tailscale.package}/bin/tailscale serve --bg --service svc:home --https=443 http://127.0.0.1:8123"; ExecStop = "-${config.services.tailscale.package}/bin/tailscale serve clear svc:home";