Use = intead of space for helper args to avoid issue with parameter

This commit is contained in:
Josué Tille
2024-04-26 22:00:58 +02:00
parent a689129d2a
commit 414f6b7ad6
4 changed files with 17 additions and 17 deletions

View File

@ -34,7 +34,7 @@ yunohost service add "$app" --log="/var/log/$app/gitea.log"
# SETUP FAIL2BAN
ynh_script_progression --message="Configuring fail2ban..."
ynh_add_fail2ban_config --logpath "/var/log/$app/gitea.log" --failregex ".*Failed authentication attempt for .* from <HOST>" --max_retry 5
ynh_add_fail2ban_config --logpath="/var/log/$app/gitea.log" --failregex=".*Failed authentication attempt for .* from <HOST>" --max_retry=5
#=================================================
# GENERIC FINALIZATION