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 #=================================================