Script for blocked events

main
Bob Mottram 2021-06-18 12:58:37 +01:00
parent 8b5f058a2e
commit 5d5020a6e4
1 changed files with 7 additions and 0 deletions

7
scripts/blocked 100755
View File

@ -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