epicyon/scripts/blocked

8 lines
188 B
Plaintext
Raw Normal View History

2021-06-18 11:58:37 +00:00
#!/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