#!/bin/bash
# Restart fail2ban if needed
[ "$(systemctl is-active fail2ban.service)" = 'active' ] && fail2ban-client reload --restart