Script for blocked events

This commit is contained in:
bashrc committed 2021-06-18 12:58:37 +01:00
1 parent 8b5f058a2e
commit 5d5020a6e4
1 file changed
+7
+7
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