1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/vaultwarden_ynh.git synced 2024-09-03 18:26:31 +02:00
This commit is contained in:
Éric Gaspar 2023-09-15 14:56:03 +02:00
parent bad0ac4dbc
commit 8a27858559
2 changed files with 2 additions and 2 deletions

View file

@ -66,4 +66,4 @@ ram.runtime = "50M"
admin.show_tile = false admin.show_tile = false
[resources.apt] [resources.apt]
packages = "libpq5 rsync" packages = "libpq5, rsync"

View file

@ -96,7 +96,7 @@ touch "/var/log/$app/$app.log"
chown -R $app:$app "/var/log/$app" chown -R $app:$app "/var/log/$app"
# Create a dedicated Fail2Ban config # Create a dedicated Fail2Ban config
ynh_add_fail2ban_config --logpath="/var/log/$app/$app.log" --failregex="^.*Username or password is incorrect\. Try again\. IP: <HOST>\. Username:.*$" ynh_add_fail2ban_config --logpath="/var/log/$app/$app.log" --failregex="^.*Username or password is incorrect\. Try again\. IP: <ADDR>\. Username:.*$"
yunohost service add $app --description="$app daemon for vaultwarden" --log="/var/log/$app/$app.log" yunohost service add $app --description="$app daemon for vaultwarden" --log="/var/log/$app/$app.log"