#!/bin/bash journalctl -u epicyon | grep 'get_json Forbidden ' > .blocked_events.txt if [ ! -f .blocked_events.txt ]; then echo 'No blocking events' else cat .blocked_events.txt fi