From a07d9e14221d570cec6e7bfb9ec9a185dc8c943b Mon Sep 17 00:00:00 2001 From: rosbeef andino Date: Thu, 14 Apr 2022 21:48:55 -0400 Subject: [PATCH] Update upgrade --- scripts/upgrade | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 0a55304..129d664 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -206,16 +206,6 @@ then ynh_add_config --template="../conf/jitsi-videobridge.config" --destination="/etc/$app/videobridge/config" fi -#================================================= -# REPLACE JNIWRAPPER FOR ARMHF ARCHITECTURE -#================================================= - -if [ $YNH_ARCH == "armhf" ] -then - ynh_script_progression --message="Configuring jniwrapper for armhf ..." - ynh_jniwrapper_armhf -fi - #================================================= # CONFIGURE JITSI-JICOFO #================================================= @@ -300,6 +290,17 @@ ynh_script_progression --message="Reloading NGINX web server..." ynh_systemd_action --service_name=nginx --action=reload +#================================================= +# REPLACE JNIWRAPPER FOR ARMHF ARCHITECTURE +#================================================= +# jitsi need to be started at least once. why ? modifications will be taken event without restarting services. + +if [ $YNH_ARCH == "armhf" ] +then + ynh_script_progression --message="Configuring jniwrapper for armhf ..." + ynh_jniwrapper_armhf +fi + #================================================= # END OF SCRIPT #=================================================