Commit graph

6 commits

Author SHA1 Message Date
Alexandre Aubin
3ad7e900ab doc: Remove internal/packagingv1 helpers from helpers doc 2024-05-11 16:38:33 +02:00
Alexandre Aubin
267968074b helpers/fail2ban: grep logpath is likely to match comments in the file that contain the word logpath... 2023-11-28 13:14:29 +01:00
OniriCorpe
4bfe2c96f5
fix the fail2ban helper when using using --use_template arg (#1743)
* fix the helper when using using --use_template arg

* fix app name replacment 😞

* replace any '__VAR__' by their real variable using ynh_replace_vars

* fix some SC2086

* extract logpath from /etc/fail2ban/jail.d/$app.conf

Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>

* fix comment

* Update helpers/fail2ban

---------

Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
2023-11-27 14:07:39 +01:00
OniriCorpe
9a7731aa4e
fail2ban: make sure the logfile exists (#1737)
* make sure the logfile exists before reloading fail2ban

* update docs

* enhancement: fix file perms and make sure the folder exists

* fix folder path

---------

Co-authored-by: OniriCorpe <OniriCorpe@users.noreply.github.com>
2023-11-21 03:26:27 +01:00
yalh76
fc8f433573 Not need to force $YNH_APP_BASEDIR 2022-10-13 01:04:59 +02:00
Alexandre Aubin
5de9e4fe6a Yolorework the repo dir structure 2021-11-10 17:56:02 +01:00
Renamed from data/helpers.d/fail2ban (Browse further)