1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotosocial_ynh.git synced 2024-09-03 19:16:06 +02:00

remove unnecessary touch and bump min ynh version

This commit is contained in:
OniriCorpe 2023-11-24 23:32:57 +01:00
parent f237f582d4
commit e74b4f3230
2 changed files with 2 additions and 5 deletions

View file

@ -22,7 +22,7 @@
"email": ""
},
"requirements": {
"yunohost": ">= 11.0.6"
"yunohost": ">= 11.2.6"
},
"multi_instance": true,
"services": [
@ -106,4 +106,4 @@
}
]
}
}
}

View file

@ -307,9 +307,6 @@ ynh_use_logrotate
#=================================================
ynh_script_progression --message="Configuring fail2ban..." --weight=1
# Create the logfile, required before configuring fail2ban
touch "/var/log/${app}/${app}.log"
# Create a dedicated Fail2Ban config
ynh_add_fail2ban_config --logpath="/var/log/${app}/${app}.log" --failregex="statusCode=401 path=/auth/sign_in clientIP=<HOST> .* msg=\"Unauthorized:" --max_retry=5