mirror of
https://github.com/YunoHost-Apps/gitea_ynh.git
synced 2024-09-03 20:36:22 +02:00
fix
This commit is contained in:
parent
cd3800d400
commit
4e6ffa0023
2 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ ynh_script_progression --message="Starting a systemd service..." --weight=3
|
|||
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Starting new Web server: tcp:127.0.0.1:"
|
||||
|
||||
# Create a dedicated Fail2Ban config
|
||||
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
|
||||
|
||||
#=================================================
|
||||
# LDAP CONFIGURATION
|
||||
|
|
|
@ -33,7 +33,7 @@ ynh_remove_logrotate
|
|||
ynh_remove_nginx_config
|
||||
|
||||
# Remove the dedicated Fail2Ban config
|
||||
ynh_remove_fail2ban_config
|
||||
#ynh_remove_fail2ban_config
|
||||
|
||||
ynh_secure_remove --file="/var/log/$app"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue