diff --git a/manifest.json b/manifest.json index 3e07327..7b8205a 100644 --- a/manifest.json +++ b/manifest.json @@ -24,29 +24,17 @@ { "name": "domain", "type": "domain", - "ask": { - "en": "Choose a domain name for Etherpad", - "fr": "Choisissez un nom de domaine pour Etherpad" - }, "example": "example.com" }, { "name": "path", "type": "path", - "ask": { - "en": "Choose a path for Etherpad", - "fr": "Choisissez un chemin pour Etherpad" - }, "example": "/etherpad", "default": "/etherpad" }, { "name": "is_public", "type": "boolean", - "ask": { - "en": "Is it a public application?", - "fr": "Est-ce une application publique ?" - }, "help": { "en": "If enabled, Etherpad will be accessible by people who do not have an account. This can be changed later via the webadmin.", "fr": "Si cette case est cochée, Etherpad sera accessible aux personnes n’ayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin." @@ -76,19 +64,11 @@ { "name": "admin", "type": "user", - "ask": { - "en": "Choose an admin user", - "fr": "Choisissez l'administrateur" - }, "example": "johndoe" }, { "name": "password", "type": "password", - "ask": { - "en": "Set the administrator password", - "fr": "Définissez le mot de passe administrateur" - }, "example": "Choose a password" } ] diff --git a/scripts/install b/scripts/install index 967d4c0..75b4eed 100644 --- a/scripts/install +++ b/scripts/install @@ -82,6 +82,14 @@ elif [ "$export" = "libreoffice" ]; then ynh_install_app_dependencies $libreoffice_app_dependencies fi +#================================================= +# CREATE DEDICATED USER +#================================================= +ynh_script_progression --message="Configuring system user..." --weight=4 + +# Create a system user +ynh_system_user_create --username=$app --home_dir=$final_path + #================================================= # CREATE A POSTQRESQL DATABASE #================================================= @@ -110,14 +118,6 @@ ynh_script_progression --message="Configuring NGINX web server..." --weight=4 # Create a dedicated NGINX config ynh_add_nginx_config -#================================================= -# CREATE DEDICATED USER -#================================================= -ynh_script_progression --message="Configuring system user..." --weight=4 - -# Create a system user -ynh_system_user_create --username=$app --home_dir=$final_path - #================================================= # INSTALL ETHERPAD #=================================================