From bcd5b5d4ae7a37d0e3c6050be9b49c6a7f07dce7 Mon Sep 17 00:00:00 2001 From: Leon van Kammen Date: Tue, 11 Nov 2025 21:11:09 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=83=20main:=20update=20documentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 +++++-- janusxr | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ffb5001..d07bf46 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,11 @@ # JanusXR cli -Swiss-army knife to automate janusXR / JML things. +Swiss-army knife to automate janusXR / JML things on a server # Usage +> check for broken links + ``` $ ./janusxr --health http://localhost:8790/models/m5gr26w0wqqs @@ -28,4 +30,5 @@ $ ./janusxr --health http://localhost:8790/models/m5gr26w0wqqs Why not some superfancy scripting for this task? * awk is great for all things text and templating usecases -* lightweight +* dependencyfree +* lightweight to add to docker-image for automation diff --git a/janusxr b/janusxr index d751f8a..837825f 100755 --- a/janusxr +++ b/janusxr @@ -58,5 +58,6 @@ function health( tmpfile, line, attr, check, u) { nlinks+=1 } print "⚕️ health: "(( 100/nlinks )*nlinksok)"%" + if( nlinks != nlinksok ) exit(1) }