From 5a6e209b6dd9c771ca6669895236c9ec839c4bb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Mon, 22 Jun 2026 19:21:14 +0200 Subject: [PATCH] fix: use SYSTEMD_PAGER=cat instead of --no-pager for colored journal logs --no-pager causes journalctl to disable ANSI colors. Setting SYSTEMD_PAGER=cat achieves the same effect (no interactive pager) while preserving color output. Co-Authored-By: Claude Sonnet 4.6 --- bin/stacks | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/stacks b/bin/stacks index e16ac86..f5b9444 100755 --- a/bin/stacks +++ b/bin/stacks @@ -517,7 +517,7 @@ EOF ;; logs) - SYSTEMD_COLORS=1 journalctl -u stacks-update.service "${@}" --no-pager 2>/dev/null \ + SYSTEMD_COLORS=1 SYSTEMD_PAGER=cat journalctl -u stacks-update.service "${@}" 2>/dev/null \ || warn "No update logs found (is the service installed?)" ;; @@ -674,7 +674,7 @@ EOF ;; logs) - SYSTEMD_COLORS=1 journalctl -u stacks-backup.service "${@}" --no-pager 2>/dev/null \ + SYSTEMD_COLORS=1 SYSTEMD_PAGER=cat journalctl -u stacks-backup.service "${@}" 2>/dev/null \ || warn "No backup logs found (is the service installed?)" ;;