diff --git a/bin/stacks b/bin/stacks index 87a844f..e16ac86 100755 --- a/bin/stacks +++ b/bin/stacks @@ -510,14 +510,14 @@ EOF status) if systemctl cat stacks-update.timer &>/dev/null; then - systemctl status stacks-update.timer stacks-update.service --no-pager 2>/dev/null || true + SYSTEMD_COLORS=1 systemctl status stacks-update.timer stacks-update.service --no-pager 2>/dev/null || true else warn "Update service not installed" fi ;; logs) - journalctl -u stacks-update.service "${@}" --no-pager 2>/dev/null \ + SYSTEMD_COLORS=1 journalctl -u stacks-update.service "${@}" --no-pager 2>/dev/null \ || warn "No update logs found (is the service installed?)" ;; @@ -667,14 +667,14 @@ EOF status) if systemctl cat stacks-backup.timer &>/dev/null; then - systemctl status stacks-backup.timer stacks-backup.service --no-pager 2>/dev/null || true + SYSTEMD_COLORS=1 systemctl status stacks-backup.timer stacks-backup.service --no-pager 2>/dev/null || true else warn "Backup service not installed" fi ;; logs) - journalctl -u stacks-backup.service "${@}" --no-pager 2>/dev/null \ + SYSTEMD_COLORS=1 journalctl -u stacks-backup.service "${@}" --no-pager 2>/dev/null \ || warn "No backup logs found (is the service installed?)" ;;