Merge pull request #253 from naturallaw777/copilot/fix-reboot-functionality-issue

Prevent Hub auto-restart from interrupting machine reboot
This commit is contained in:
Sovran_Systems
2026-04-15 12:39:58 -05:00
committed by GitHub
+2
View File
@@ -340,10 +340,12 @@ in
description = "Sovran_SystemsOS Hub Web Interface"; description = "Sovran_SystemsOS Hub Web Interface";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "network.target" ]; after = [ "network.target" ];
conflicts = [ "sovran-hub-reboot.service" ];
serviceConfig = { serviceConfig = {
ExecStart = "${sovran-hub-web}/bin/sovran-hub-web"; ExecStart = "${sovran-hub-web}/bin/sovran-hub-web";
Restart = "on-failure"; Restart = "on-failure";
RestartPreventExitStatus = "SIGTERM";
RestartSec = "5s"; RestartSec = "5s";
User = "root"; User = "root";
StandardOutput = "journal"; StandardOutput = "journal";