Skip to content

Commit 46fed57

Browse files
authored
touch ufw log file for fail2ban
1 parent 78b6e31 commit 46fed57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

du_setup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,6 +1192,7 @@ EOF
11921192
print_info "Enabling and restarting Fail2Ban to apply new rules..."
11931193
systemctl enable fail2ban
11941194
systemctl restart fail2ban
1195+
sleep 2 # Give the service a moment to initialize.
11951196

11961197
if systemctl is-active --quiet fail2ban; then
11971198
print_success "Fail2Ban is active with the new configuration."

0 commit comments

Comments
 (0)