From 5969259fc0704d1169e4f8d99cdd3d96303362c7 Mon Sep 17 00:00:00 2001 From: dub Date: Mon, 9 Oct 2023 02:45:00 +0300 Subject: [PATCH] logs cat --- service-logs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service-logs.sh b/service-logs.sh index 00a7633..83adacc 100755 --- a/service-logs.sh +++ b/service-logs.sh @@ -4,4 +4,4 @@ source ./service-config.sh # Show logs -sudo journalctl -u $SERVICE_NAME -f -n 1000 +sudo journalctl -u $SERVICE_NAME -f -n ${1:-1000} --output cat