From 5d5020a6e493e734893c087bee743a6f6b55fb9c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 18 Jun 2021 12:58:37 +0100 Subject: [PATCH] Script for blocked events --- scripts/blocked | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/blocked diff --git a/scripts/blocked b/scripts/blocked new file mode 100755 index 000000000..7dffe76b0 --- /dev/null +++ b/scripts/blocked @@ -0,0 +1,7 @@ +#!/bin/bash +journalctl -u epicyon | grep 'getJson Forbidden ' > .blocked_events.txt +if [ ! -f .blocked_events.txt ]; then + echo 'No blocking events' +else + cat .blocked_events.txt +fi