mirror of
https://github.com/YunoHost-Apps/syncthing_ynh.git
synced 2024-09-03 20:26:23 +02:00
STORE SETTINGS FROM MANIFEST
This commit is contained in:
parent
7fc85b6148
commit
a43f1527dc
1 changed files with 10 additions and 0 deletions
|
@ -49,6 +49,16 @@ ynh_print_info "Validating installation parameters..."
|
|||
# Register (book) web path
|
||||
ynh_webpath_register $app $domain $path
|
||||
|
||||
#=================================================
|
||||
# STORE SETTINGS FROM MANIFEST
|
||||
#=================================================
|
||||
ynh_print_info "Storing installation settings..."
|
||||
|
||||
ynh_app_setting_set $app domain $domain
|
||||
ynh_app_setting_set $app path $path
|
||||
ynh_app_setting_set $app user $user
|
||||
ynh_app_setting_set $app channel $channel
|
||||
|
||||
# Check port availability
|
||||
sudo yunohost app checkport $GUIPORT
|
||||
if [[ ! $? -eq 0 ]]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue