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

Change Manifest, Cleanup

This commit is contained in:
Fabian Wilkens 2021-01-03 15:45:28 +01:00
parent 0c0726fd80
commit 81a181071c
4 changed files with 5 additions and 5 deletions

View file

@ -5,9 +5,9 @@
"description": {
"en": "The Standard Notes syncing server. An end-to-end encrypted note-taking app."
},
"version": "3.13.6~ynh1",
"version": "3.13.6~ynh2",
"url": "https://github.com/standardnotes/syncing-server",
"license": "free",
"license": "AGPL-3.0-or-later",
"maintainer": {
"name": "Fabian Wilkens",
"email": "wilkens.fabian+github@gmail.com",

View file

@ -117,7 +117,7 @@ ynh_replace_string --match_string="RAILS_RELATIVE_URL_ROOT=$old_path" --replace_
#=================================================
# SETUP FAIL2BAN
#=================================================
ynh_script_progression --message="Configuring fail2ban..." --time --weight=1
ynh_script_progression --message="Configuring fail2ban..." --weight=1
domain=$new_domain
path_url=$new_path

View file

@ -205,7 +205,7 @@ yunohost service add $app --description "Standard Notes - Syncing Server" --log
#=================================================
# SETUP FAIL2BAN
#=================================================
ynh_script_progression --message="Configuring fail2ban..." --time --weight=1
ynh_script_progression --message="Configuring fail2ban..." --weight=1
# Create a dedicated fail2ban config
touch "/var/log/$app/$app.log"

View file

@ -142,7 +142,7 @@ ynh_restore_file --origin_path="/etc/logrotate.d/$app"
#=================================================
# RESTORE FAIL2BAN CONFIGURATION
#=================================================
ynh_script_progression --message="Restoring the fail2ban configuration..." --weight=
ynh_script_progression --message="Restoring the fail2ban configuration..." --weight=1
touch "/var/log/$app/$app.log"
ynh_restore_file "/etc/fail2ban/jail.d/$app.conf"