initial commit
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
WEBROOT=/var/www/html
|
||||||
|
if [ -d "${WEBROOT}/wp-content/plugins/wp-fail2ban/filters.d" ]; then
|
||||||
|
echo "Updating fail2ban filters"
|
||||||
|
cp -a "${WEBROOT}/wp-content/plugins/wp-fail2ban/filters.d/. /etc/fail2ban/filter.d/ && /usr/bin/fail2ban-client reload
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user