diff --git a/manifest.json b/manifest.json index c197acd..1a0b391 100644 --- a/manifest.json +++ b/manifest.json @@ -19,7 +19,7 @@ "code": "https://github.com/matrix-org/synapse" }, "requirements": { - "yunohost": ">= 4.1.2" + "yunohost": ">= 11.1" }, "multi_instance": true, "services": [ diff --git a/scripts/install b/scripts/install index 157f452..4c9c46d 100644 --- a/scripts/install +++ b/scripts/install @@ -146,7 +146,7 @@ ynh_install_app_dependencies $dependances ynh_script_progression --message="Configuring system user..." --weight=3 ynh_system_user_create --username=$synapse_user --home_dir=$final_path -yunohost user create $synapse_user_app -f Synapse -l Application -d $domain -p "$synapse_user_app_pwd" +yunohost user create $synapse_user_app -F Synapse Application -d $domain -p "$synapse_user_app_pwd" adduser $synapse_user ssl-cert adduser turnserver ssl-cert diff --git a/scripts/restore b/scripts/restore index 347c02e..9a4e9f3 100644 --- a/scripts/restore +++ b/scripts/restore @@ -80,7 +80,7 @@ ynh_script_progression --message="Recreating the dedicated system user..." --wei # Create the dedicated user (if not existing) ynh_system_user_create --username=$synapse_user --home_dir=$final_path -yunohost user create $synapse_user_app -f Synapse -l Application -d $domain -p "$synapse_user_app_pwd" +yunohost user create $synapse_user_app -F Synapse Application -d $domain -p "$synapse_user_app_pwd" adduser $synapse_user ssl-cert adduser turnserver ssl-cert diff --git a/scripts/upgrade b/scripts/upgrade index 19d4504..390b0ee 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -141,7 +141,7 @@ fi if [ -z $synapse_user_app_pwd ]; then synapse_user_app_pwd="$(ynh_string_random --length=30)" ynh_app_setting_set --app=$app --key=synapse_user_app_pwd --value=$synapse_user_app_pwd - yunohost user create $synapse_user_app -f Synapse -l Application -d $domain -p "$synapse_user_app_pwd" + yunohost user create $synapse_user_app -F Synapse Application -d $domain -p "$synapse_user_app_pwd" fi #=================================================