1
0
Fork 0
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:
yalh76 2019-04-13 15:46:21 +02:00
parent 7fc85b6148
commit a43f1527dc

View file

@ -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