epicyon/scripts/blocked

8 lines
201 B
Plaintext
Raw Normal View History

2021-06-18 11:58:37 +00:00
#!/bin/bash
2023-01-17 14:31:59 +00:00
journalctl -u epicyon | grep -i 'get_json forbidden \|blocked' > .blocked_events.txt
2021-06-18 11:58:37 +00:00
if [ ! -f .blocked_events.txt ]; then
echo 'No blocking events'
else
cat .blocked_events.txt
fi