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

Update upgrade

This commit is contained in:
Éric Gaspar 2023-12-15 15:08:46 +01:00
parent 5a5c6c5b36
commit bb2262b64c

View file

@ -74,8 +74,6 @@ pushd $install_dir
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm run db:init
popd
ynh_add_fail2ban_config --logpath="$install_dir/logs/planka.log" --failregex="^(.*) Invalid (email or username:|password!) (\"(.*)\"!)? ?\(IP: <ADDR>\)$"
#=================================================
# START SYSTEMD SERVICE
#=================================================
@ -83,6 +81,12 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
#=================================================
# ADD FAIL2BAN
#=================================================
ynh_add_fail2ban_config --logpath="$install_dir/logs/planka.log" --failregex="^(.*) Invalid (email or username:|password!) (\"(.*)\"!)? ?\(IP: <ADDR>\)$"
#=================================================
# END OF SCRIPT
#=================================================