mirror of
https://github.com/YunoHost-Apps/vaultwarden_ynh.git
synced 2024-09-03 18:26:31 +02:00
fix
This commit is contained in:
parent
bad0ac4dbc
commit
8a27858559
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue