diff --git a/manifest.json b/manifest.json index 477abb1..fd17f2f 100644 --- a/manifest.json +++ b/manifest.json @@ -30,7 +30,17 @@ "fr": "Choisissez un nom de domaine pour OnlyOffice" }, "example": "example.com" - }, + }, + { + "name": "path", + "type": "path", + "ask": { + "en": "Choose a path for OnlyOffice", + "fr": "Choisissez un chemin pour OnlyOffice" + }, + "example": "/onlyoffice", + "default": "/onlyoffice" + }, { "name": "nextclouddomain", "type": "string", diff --git a/scripts/install b/scripts/install index 9ecddf7..13f5be6 100644 --- a/scripts/install +++ b/scripts/install @@ -26,7 +26,7 @@ ynh_abort_if_errors #================================================= domain=$YNH_APP_ARG_DOMAIN -path_url="/" +path_url=$YNH_APP_ARG_PATH is_public=$YNH_APP_ARG_IS_PUBLIC nextclouddomain=$YNH_APP_ARG_NEXTCLOUDDOMAIN diff --git a/scripts/remove b/scripts/remove index c828032..3485d9c 100644 --- a/scripts/remove +++ b/scripts/remove @@ -44,6 +44,7 @@ ynh_psql_remove_db $db_name $db_name ynh_print_info "Removing dependencies" # Remove metapackage and its dependencies +documentserver-prepare4shutdown.sh ynh_secure_remove /var/lib/dpkg/info/onlyoffice-documentserver.prerm ynh_remove_app_dependencies