Kay0u
5 years ago
No known key found for this signature in database
GPG Key ID: AAFEEB16CFA2AE2D
3 changed files with
33 additions and
0 deletions
-
scripts/install
-
scripts/restore
-
scripts/upgrade
|
|
@ -367,6 +367,17 @@ ynh_script_progression --message="Reloading NGINX web server..." |
|
|
|
|
|
|
|
|
ynh_systemd_action --service_name=nginx --action=reload |
|
|
ynh_systemd_action --service_name=nginx --action=reload |
|
|
|
|
|
|
|
|
|
|
|
#================================================= |
|
|
|
|
|
# CHECK IF NOTIFY_PUSH WORKS |
|
|
|
|
|
#================================================= |
|
|
|
|
|
|
|
|
|
|
|
if [ $use_notify_push -eq 1 ] |
|
|
|
|
|
then |
|
|
|
|
|
if ! ynh_exec_as "$app" nextcloud php7.3 $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 |
|
|
|
|
|
|
|
|
#================================================= |
|
|
#================================================= |
|
|
# END OF SCRIPT |
|
|
# END OF SCRIPT |
|
|
#================================================= |
|
|
#================================================= |
|
|
|
|
|
@ -194,6 +194,17 @@ ynh_script_progression --message="Reloading NGINX web server..." |
|
|
|
|
|
|
|
|
ynh_systemd_action --service_name=nginx --action=reload |
|
|
ynh_systemd_action --service_name=nginx --action=reload |
|
|
|
|
|
|
|
|
|
|
|
#================================================= |
|
|
|
|
|
# CHECK IF NOTIFY_PUSH WORKS |
|
|
|
|
|
#================================================= |
|
|
|
|
|
|
|
|
|
|
|
if [ $use_notify_push -eq 1 ] |
|
|
|
|
|
then |
|
|
|
|
|
if ! ynh_exec_as "$app" nextcloud php7.3 $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 |
|
|
|
|
|
|
|
|
#================================================= |
|
|
#================================================= |
|
|
# END OF SCRIPT |
|
|
# END OF SCRIPT |
|
|
#================================================= |
|
|
#================================================= |
|
|
|
|
|
@ -498,6 +498,17 @@ ynh_script_progression --message="Reloading NGINX web server and PHP-FPM..." |
|
|
ynh_systemd_action --service_name=nginx --action=reload |
|
|
ynh_systemd_action --service_name=nginx --action=reload |
|
|
ynh_systemd_action --service_name="php${phpversion}-fpm" --action=reload |
|
|
ynh_systemd_action --service_name="php${phpversion}-fpm" --action=reload |
|
|
|
|
|
|
|
|
|
|
|
#================================================= |
|
|
|
|
|
# CHECK IF NOTIFY_PUSH WORKS |
|
|
|
|
|
#================================================= |
|
|
|
|
|
|
|
|
|
|
|
if [ $use_notify_push -eq 1 ] |
|
|
|
|
|
then |
|
|
|
|
|
if ! ynh_exec_as "$app" nextcloud php7.3 $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 |
|
|
|
|
|
|
|
|
#================================================= |
|
|
#================================================= |
|
|
# END OF SCRIPT |
|
|
# END OF SCRIPT |
|
|
#================================================= |
|
|
#================================================= |
|
|
|