From 1a0a8a459ed2b3015d78d8e2e9e174d2e29048fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 7 Sep 2023 23:00:53 +0200 Subject: [PATCH] cleaning --- manifest.toml | 2 +- scripts/upgrade | 18 +++--------------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/manifest.toml b/manifest.toml index 52ed09c..4ec88ed 100644 --- a/manifest.toml +++ b/manifest.toml @@ -16,7 +16,7 @@ userdoc = "https://docs.syncthing.net" code = "https://github.com/syncthing/syncthing" [integration] -yunohost = ">= 11.1.19" +yunohost = ">= 11.2" architectures = "all" multi_instance = true ldap = true diff --git a/scripts/upgrade b/scripts/upgrade index 3cf7045..9333b66 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -39,14 +39,6 @@ fi chmod -R o-rwx "$install_dir" chown -R $app:$app "$install_dir" -#================================================= -# NGINX CONFIGURATION -#================================================= -ynh_script_progression --message="Upgrading NGINX web server configuration..." - -# Create a dedicated NGINX config -ynh_add_nginx_config - #================================================= # UPDATE A CONFIG FILE #================================================= @@ -68,16 +60,12 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Upgrading systemd configuration..." +# Create a dedicated NGINX config +ynh_add_nginx_config + # Create a dedicated systemd config ynh_add_systemd_config -#================================================= -# GENERIC FINALIZATION -#================================================= -# INTEGRATE SERVICE IN YUNOHOST -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." - yunohost service add $app --description="Continuous File Synchronization" --needs_exposed_ports=$port #=================================================