From b7080dcb45bafa141e3d92a2b4e4dad93d4b9b64 Mon Sep 17 00:00:00 2001 From: Hunter Halloran Date: Thu, 11 Dec 2025 13:49:32 -0500 Subject: [PATCH] polkit service work --- sw/shared-services.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sw/shared-services.nix b/sw/shared-services.nix index 1a9bbae..f0dfb5c 100644 --- a/sw/shared-services.nix +++ b/sw/shared-services.nix @@ -38,7 +38,7 @@ with lib; UNIT="update-system.service" # Start following logs in the background - journalctl -fu "$UNIT" --output=cat & + journalctl -fu "$UNIT" -n 0 --output=cat & JPID=$! # Start the service and wait for it to finish @@ -48,6 +48,8 @@ with lib; STATUS=$? fi + sleep 2 + # Kill the log follower kill "$JPID" 2>/dev/null || true