Browse Source
Merge branch 'add-notify_push-option' of github.com:YunoHost-Apps/nextcloud_ynh into add-notify_push-option
add-notify_push-option
Kay0u
5 years ago
No known key found for this signature in database
GPG Key ID: AAFEEB16CFA2AE2D
5 changed files with
11 additions and
3 deletions
-
README.md
-
README_fr.md
-
scripts/install
-
scripts/restore
-
scripts/upgrade
|
|
@ -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...)* |
|
|
*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 |
|
|
## YunoHost specific features |
|
|
|
|
|
|
|
|
In addition to Nextcloud core features, the following are made available with |
|
|
In addition to Nextcloud core features, the following are made available with |
|
|
|
|
|
@ -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...)* |
|
|
*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 |
|
|
## Caractéristiques spécifiques YunoHost |
|
|
|
|
|
|
|
|
En plus des fonctionnalités principales de Nextcloud, les fonctionnalités suivantes sont incluses dans ce package : |
|
|
En plus des fonctionnalités principales de Nextcloud, les fonctionnalités suivantes sont incluses dans ce package : |
|
|
|
|
|
@ -373,7 +373,7 @@ ynh_systemd_action --service_name=nginx --action=reload |
|
|
|
|
|
|
|
|
if [ $use_notify_push -eq 1 ] |
|
|
if [ $use_notify_push -eq 1 ] |
|
|
then |
|
|
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." |
|
|
ynh_print_warn --message="High Performance Backend is not working correctly, try to repair it or contact YNH support." |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
|
|
|
@ -200,7 +200,7 @@ ynh_systemd_action --service_name=nginx --action=reload |
|
|
|
|
|
|
|
|
if [ $use_notify_push -eq 1 ] |
|
|
if [ $use_notify_push -eq 1 ] |
|
|
then |
|
|
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." |
|
|
ynh_print_warn --message="High Performance Backend is not working correctly, try to repair it or contact YNH support." |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
|
|
|
@ -504,7 +504,7 @@ ynh_systemd_action --service_name="php${phpversion}-fpm" --action=reload |
|
|
|
|
|
|
|
|
if [ $use_notify_push -eq 1 ] |
|
|
if [ $use_notify_push -eq 1 ] |
|
|
then |
|
|
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." |
|
|
ynh_print_warn --message="High Performance Backend is not working correctly, try to repair it or contact YNH support." |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
|