1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-29 04:17:07 +00:00
mailinabox/services/fail2ban.sh
2015-01-24 13:59:16 +03:30

10 lines
143 B
Bash
Executable File

#!/bin/bash
PROCESS=fail2ban
/etc/init.d/$PROCESS start
while [ `ps aux | grep fail2ban | grep -v grep | wc -l` -gt 0 ]; do
sleep 30
done