From 18c60bf0853d3e9d979c4b5a6e8bd2950084b2bc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 15 Apr 2026 17:38:12 +0000 Subject: [PATCH] Add reboot conflict and SIGTERM restart prevention for hub service Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/83e39fad-8cf8-4008-8977-a07a77b2f7a3 Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com> --- modules/core/sovran-hub.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/core/sovran-hub.nix b/modules/core/sovran-hub.nix index 3dff9c8..eee4b75 100644 --- a/modules/core/sovran-hub.nix +++ b/modules/core/sovran-hub.nix @@ -340,10 +340,12 @@ in description = "Sovran_SystemsOS Hub Web Interface"; wantedBy = [ "multi-user.target" ]; after = [ "network.target" ]; + conflicts = [ "sovran-hub-reboot.service" ]; serviceConfig = { ExecStart = "${sovran-hub-web}/bin/sovran-hub-web"; Restart = "on-failure"; + RestartPreventExitStatus = "SIGTERM"; RestartSec = "5s"; User = "root"; StandardOutput = "journal";