1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/meilisearch_ynh.git synced 2024-09-03 19:45:59 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2020-10-06 10:30:16 +02:00
parent adb788162e
commit fe9557fabb
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -87,7 +87,7 @@ path_url=$(ynh_normalize_url_path --path_url=$path_url)
# STOP SYSTEMD SERVICE
#=================================================
ynh_script_progression --message="Stopping a systemd service..." --time --weight=1
ynh_script_progression --message="Stopping a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log"
#=================================================
@ -159,7 +159,7 @@ ynh_add_systemd_config
#=================================================
# UPGRADE FAIL2BAN
#=================================================
#ynh_script_progression --message="Reconfiguring fail2ban..." --time --weight=1
#ynh_script_progression --message="Reconfiguring fail2ban..." --weight=1
# 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"