From e4e4348e8def9ac4fbfd981629ba9f398e2482b1 Mon Sep 17 00:00:00 2001 From: mram Date: Mon, 21 Sep 2026 08:12:13 +0200 Subject: [PATCH] Start the Windows service right after install (parity with enable --now) --- internal/service/service_windows.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/service/service_windows.go b/internal/service/service_windows.go index 509c5f0..11e96d8 100644 --- a/internal/service/service_windows.go +++ b/internal/service/service_windows.go @@ -172,6 +172,10 @@ func Install(configPath string, copyBin bool) error { s.Delete() // roll back so a retry starts clean return err } + // Best effort: start now instead of waiting for the next boot. A + // missing config (no consumer URLs) fails the start; the service stays + // registered and can be started once the config exists. + s.Start() return nil }