1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fittrackee_ynh.git synced 2024-09-03 18:36:16 +02:00

Update install

This commit is contained in:
Thomas 2023-03-03 16:10:09 +01:00 committed by GitHub
parent e84bb04002
commit 9847ecb934
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,6 +55,14 @@ mkdir /var/log/$app/
touch /var/log/$app/$app.log
chown -R $app: /var/log/$app/
# Use logrotate to manage application logfile(s)
ynh_use_logrotate
# Create a dedicated Fail2Ban config
ynh_add_fail2ban_config --logpath="/var/log/nginx/${domain}-error.log" --failregex="Regex to match into the log for a failed login"
#=================================================
# CONFIGURE THE INSTALL SCRIPT
#=================================================