mirror of
https://github.com/YunoHost-Apps/syncserver-rs_ynh.git
synced 2024-09-03 20:26:32 +02:00
More fixes
This commit is contained in:
parent
e045cd4f4f
commit
8076d9b9cb
2 changed files with 3 additions and 3 deletions
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue