mirror of
https://github.com/YunoHost-Apps/syncthing_ynh.git
synced 2024-09-03 20:26:23 +02:00
LOAD SETTINGS
This commit is contained in:
parent
f1506f09d2
commit
39e2c8a51a
1 changed files with 3 additions and 6 deletions
|
@ -17,20 +17,17 @@ ynh_print_info "Loading installation settings..."
|
|||
app=$YNH_APP_INSTANCE_NAME
|
||||
|
||||
domain=$(ynh_app_setting_get $app domain)
|
||||
path=$(ynh_app_setting_get $app path)
|
||||
|
||||
final_path=$(ynh_app_setting_get $app final_path)
|
||||
|
||||
SYNCHOME=$(ynh_app_setting_get $app synchome)
|
||||
SYNCUSER=$(ynh_app_setting_get $app syncuser)
|
||||
SYNCPORT=$(ynh_app_setting_get $app syncport)
|
||||
GUIPORT=$(ynh_app_setting_get $app guiport)
|
||||
|
||||
final_path=$(ynh_app_setting_get $app final_path)
|
||||
|
||||
|
||||
|
||||
# Retrieve arguments
|
||||
domain=$(sudo yunohost app setting syncthing domain)
|
||||
path=$(sudo yunohost app setting syncthing path)
|
||||
|
||||
# Remove trailing "/" for next commands
|
||||
path=${path%/}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue