diff --git a/README.md b/README.md index 4007b2f..56bde04 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,10 @@ To install and configure it: *NB: OnlyOffice is only available for x86 architecture - **ARM** architecture is **not** supported (Raspberry Pi, OLinuXino...)* +#### High Performance Backend + +This is an application on Nextcloud that should speed up the instance, more information here: https://github.com/nextcloud/notify_push#about + ## YunoHost specific features In addition to Nextcloud core features, the following are made available with diff --git a/README_fr.md b/README_fr.md index aee7890..84f4cc2 100644 --- a/README_fr.md +++ b/README_fr.md @@ -36,6 +36,10 @@ Pour l'installer et la configurer : *NB : OnlyOffice n'est disponible que sous architecture x86 - L'architecture **ARM** n'est **pas** supporté (Raspberry Pi, OLinuXino...)* +#### Backend Hautes Performances + +Il s'agit d'une application sur nextcloud qui devrait accélérer l'instance, plus d'informations ici: https://github.com/nextcloud/notify_push#about + ## Caractéristiques spécifiques YunoHost En plus des fonctionnalités principales de Nextcloud, les fonctionnalités suivantes sont incluses dans ce package : diff --git a/scripts/install b/scripts/install index 9a421aa..a236eac 100755 --- a/scripts/install +++ b/scripts/install @@ -373,7 +373,7 @@ ynh_systemd_action --service_name=nginx --action=reload if [ $use_notify_push -eq 1 ] then - if ! ynh_exec_as "$app" nextcloud php7.3 $final_path/occ notify_push:self-test; then + if ! ynh_exec_as "$app" php${phpversion} $final_path/occ notify_push:self-test; then ynh_print_warn --message="High Performance Backend is not working correctly, try to repair it or contact YNH support." fi fi diff --git a/scripts/restore b/scripts/restore index 1b160ba..c62a6e4 100755 --- a/scripts/restore +++ b/scripts/restore @@ -200,7 +200,7 @@ ynh_systemd_action --service_name=nginx --action=reload if [ $use_notify_push -eq 1 ] then - if ! ynh_exec_as "$app" nextcloud php7.3 $final_path/occ notify_push:self-test; then + if ! ynh_exec_as "$app" php${phpversion} $final_path/occ notify_push:self-test; then ynh_print_warn --message="High Performance Backend is not working correctly, try to repair it or contact YNH support." fi fi diff --git a/scripts/upgrade b/scripts/upgrade index d0c8226..45b6dec 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -504,7 +504,7 @@ ynh_systemd_action --service_name="php${phpversion}-fpm" --action=reload if [ $use_notify_push -eq 1 ] then - if ! ynh_exec_as "$app" nextcloud php7.3 $final_path/occ notify_push:self-test; then + if ! ynh_exec_as "$app" php${phpversion} $final_path/occ notify_push:self-test; then ynh_print_warn --message="High Performance Backend is not working correctly, try to repair it or contact YNH support." fi fi