Files
Achmad 10ea727f53 deploy.sh: force PAGER=cat to defeat pager over ssh -tt TTY
With -tt allocating a remote PTY, systemctl and journalctl would
sometimes open a pager (less/more) even with --no-pager, leaving
the script blocked until the user hits q or Ctrl-C.

Force PAGER=cat and SYSTEMD_PAGER=cat inside every remote sudo
call and inside the status_block journalctl command. Add
--output=cat to journalctl too as belt-and-suspenders.

Status output is also piped through | head -3 / | head -20 to
guarantee a finite output even if the pager or color escape
handling misbehaves.
2026-06-24 05:03:47 +00:00
..
2026-06-24 01:43:43 +00:00
2026-06-24 07:25:01 +07:00
2026-06-24 07:25:01 +07:00
2026-06-24 07:25:01 +07:00