From 13116899db679c599f9457518064b852a9dbb3df Mon Sep 17 00:00:00 2001 From: Bartal Laearsson Date: Mon, 24 Aug 2026 12:00:05 +0100 Subject: [PATCH] add status and logs to justfile --- justfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/justfile b/justfile index a901ef6..fc4c601 100644 --- a/justfile +++ b/justfile @@ -46,3 +46,12 @@ test: clean: cargo clean rm -rf {{DEV_DIR}} + +status: + ssh -t {{SERVER}} "sudo systemctl status {{PKG}}" + +logs: + ssh -t {{SERVER}} "sudo journalctl -u {{PKG}} -n 100 --no-pager" + +logs-follow: + ssh -t {{SERVER}} "sudo journalctl -u {{PKG}} -f"