its done, deadass this time

This commit is contained in:
2025-10-14 21:51:53 -05:00
parent e8a54ec95c
commit 69a671559a

View File

@@ -61,7 +61,7 @@ in {
echo -e "''${YELLOW}Homelab Services''${RESET}"
${lib.concatStringsSep "\n" (map (service: ''
if systemctl list-units --type=service --all | grep "${service}"; then
if systemctl list-units --type=service --all | grep -q "${service}"; then
status=$(systemctl is-active ${service} 2>/dev/null)
if [ "''${status}" = "active" ]; then
echo -e " ''${BLUE}${service}''${RESET} - running"