From 8076d9b9cb07b5f72c998a3c086f3a981264107f Mon Sep 17 00:00:00 2001 From: orhtej2 <2871798+orhtej2@users.noreply.github.com> Date: Mon, 9 Oct 2023 17:00:29 +0200 Subject: [PATCH] More fixes --- manifest.toml | 3 ++- scripts/install | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 88d9fdb..aa4f82f 100644 --- a/manifest.toml +++ b/manifest.toml @@ -67,7 +67,8 @@ ram.runtime = "50M" # This will configure SSOwat permission for $domain/$path/ # The initial allowed group of user is configured via the init_main_permission question (public=visitors, private=all_users) [resources.permissions] - main.url = "/" + main.url = "/" + main.show_tile = false # This will pick a random port for reverse-proxying and store it as the $port setting [resources.ports] diff --git a/scripts/install b/scripts/install index bbb9d2d..d7afcf1 100644 --- a/scripts/install +++ b/scripts/install @@ -9,7 +9,6 @@ # IMPORT GENERIC HELPERS #================================================= source _common.sh -source ynh_install_go source /usr/share/yunohost/helpers secret=$(ynh_string_random --length=40) @@ -79,7 +78,7 @@ ynh_exec_as $app python -m venv "${install_dir}/venv" ynh_mysql_execute_as_root --sql="INSERT INTO services (id, service, pattern) VALUES (1, 'sync-1.5', '{node}/1.5/{uid}')" --database="$db_name_tokenserver"; - ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH SYNC_TOKENSERVER__DATABASE_URL="mysql://syncstorage:${SYNCSTORAGE_PW}@localhost/tokenserver_rs" $install_dir/venv/bin/python tools/tokenserver/add_node.py "https://$domain$path_url" 10 + ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH SYNC_TOKENSERVER__DATABASE_URL="mysql://$db_user:${db_pwd}@localhost/$db_name_tokenserver" $install_dir/venv/bin/python tools/tokenserver/add_node.py "https://$domain$path_url" 10 popd )