From 8979ed95f54a24bbb22906a18e7979c6d3a70bbb Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Mon, 20 May 2024 22:19:26 -0700 Subject: [PATCH] final fix for Sovran_SystemsOS fixes service --- ...ovran_SystemsOS_Light_File_Fixes_And_New_Services.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/modules/Sovran_SystemsOS_Light_File_Fixes_And_New_Services.nix b/modules/Sovran_SystemsOS_Light_File_Fixes_And_New_Services.nix index b357337..b185239 100755 --- a/modules/Sovran_SystemsOS_Light_File_Fixes_And_New_Services.nix +++ b/modules/Sovran_SystemsOS_Light_File_Fixes_And_New_Services.nix @@ -4,18 +4,13 @@ systemd.services.Sovran_SystemsOS_Light_File_Fixes_And_New_Services = { - - unitConfig = { - wants = "network-online.target"; - requires = "network.target network-online.target nss-lookup.target"; - }; + after = [ "network-online.target" ]; serviceConfig = { ExecStart = "/run/current-system/sw/bin/wget https://git.sovransystems.com/Sovran_Systems/Sovran_SystemsOS_Light/raw/branch/main/file_fixes_and_new_services/Sovran_SystemsOS_Light_File_Fixes_And_New_Services.sh -O /home/free/Downloads/Sovran_SystemsOS_Light_File_Fixes_And_New_Services.sh ; /run/current-system/sw/bin/bash /home/free/Downloads/Sovran_SystemsOS_Light_File_Fixes_And_New_Services.sh"; RemainAfterExit = "yes"; User = "root"; - Group = "root"; - Type = "idle"; + Type = "oneshot"; }; wantedBy = [ "multi-user.target" ];