diff --git a/conf/default.yaml b/conf/default.yaml index 19a2b90..2b48a5d 100644 --- a/conf/default.yaml +++ b/conf/default.yaml @@ -25,12 +25,12 @@ # network configuration network: # name of the network - name: ErgoYunoHost + name: __NETWORK_NAME__ # server configuration server: # server name - name: ergo.YunoHost + name: __SERVER_NAME__ # addresses to listen on listeners: @@ -111,7 +111,7 @@ server: duration: 1mo2d5m # tls port - you should be listening on this port above - port: 6697 + port: __SECURE_PORT__ # should clients include this STS policy when they ship their inbuilt preload lists? preload: false diff --git a/scripts/install b/scripts/install index d964291..8e7f399 100755 --- a/scripts/install +++ b/scripts/install @@ -29,6 +29,8 @@ path_url=$YNH_APP_ARG_PATH is_public=$YNH_APP_ARG_IS_PUBLIC language=$YNH_APP_ARG_LANGUAGE architecture=$YNH_ARCH +network_name=$YNH_APP_ARG_NETWORK_NAME +server_name=$YNH_APP_ARG_SERVER_NAME app=$YNH_APP_INSTANCE_NAME @@ -51,6 +53,8 @@ ynh_script_progression --message="Storing installation settings..." --time --wei ynh_app_setting_set --app=$app --key=domain --value=$domain ynh_app_setting_set --app=$app --key=path --value=$path_url ynh_app_setting_set --app=$app --key=language --value=$language +ynh_app_setting_set --app=$app --key=network_name --value=$network_name +ynh_app_setting_set --app=$app --key=server_name --value=$server_name #================================================= # STANDARD MODIFICATIONS