10 lines
143 B
Bash
10 lines
143 B
Bash
|
#!/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
|