diff --git a/manifest.toml b/manifest.toml index d0bd2f4..466c722 100644 --- a/manifest.toml +++ b/manifest.toml @@ -21,8 +21,11 @@ code = "https://github.com/searx/searx" yunohost = ">= 11.2" architectures = "all" multi_instance = false + ldap = false + sso = false + disk = "50M" ram.build = "50M" ram.runtime = "50M" @@ -55,4 +58,4 @@ ram.runtime = "50M" main.url = "/" [resources.apt] - packagess = "git build-essential libxslt-dev python3-dev python3-venv python3-cffi python3-babel zlib1g-dev libffi-dev libssl-dev python3-lxml uwsgi uwsgi-plugin-python3 shellcheck" + packagess = "git, build-essential, libxslt-dev, python3-dev, python3-venv, python3-cffi, python3-babel,zlib1g-dev, libffi-dev, libssl-dev, python3-lxml, uwsgi, uwsgi-plugin-python3, shellcheck" diff --git a/scripts/install b/scripts/install index cde24c9..6f46933 100644 --- a/scripts/install +++ b/scripts/install @@ -48,7 +48,7 @@ popd ynh_script_progression --message="Configuring Searx..." --weight=2 secret_key=$(ynh_string_random) -ynh_add_config --template="../conf/settings.yml" --destination="$install_dir/searx/settings.yml" +ynh_add_config --template="settings.yml" --destination="$install_dir/searx/settings.yml" #================================================= # SET PERMISSIONS ON SEARX DIRECTORY diff --git a/scripts/remove b/scripts/remove index 4604f48..2658876 100644 --- a/scripts/remove +++ b/scripts/remove @@ -20,11 +20,6 @@ ynh_script_progression --message="Stopping and removing the systemd service..." ynh_systemd_action --service_name "uwsgi-app@$app.service" --action stop ynh_remove_uwsgi_service -#================================================= -# REMOVE NGINX CONFIGURATION -#================================================= -ynh_script_progression --message="Removing NGINX web server configuration..." --weight=2 - # Remove the dedicated NGINX config ynh_remove_nginx_config diff --git a/scripts/restore b/scripts/restore index 6928857..b1632ea 100755 --- a/scripts/restore +++ b/scripts/restore @@ -46,13 +46,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=4 ynh_systemd_action --service_name=uwsgi-app@$app.service --action=start --line_match="spawned uWSGI master process" --log_path="/var/log/uwsgi/$app/$app.log" -#================================================= -# GENERIC FINALIZATION -#================================================= -# RELOAD NGINX -#================================================= -ynh_script_progression --message="Reloading NGINX web server..." --weight=2 - ynh_systemd_action --service_name=nginx --action=reload #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index ff02495..6d8492d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -94,7 +94,7 @@ chown -R $app: "$install_dir" # ynh_script_progression --message="Configuring Searx..." --weight=2 # secret_key=$(ynh_string_random) -# ynh_add_config --template="../conf/settings.yml" --destination="$install_dir/searx/settings.yml" +# ynh_add_config --template="settings.yml" --destination="$install_dir/searx/settings.yml" #================================================= # CONFIGURE UWSGI FOR SEARX