1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jitsi_ynh.git synced 2024-09-03 19:35:57 +02:00

Forcing metronome regen-conf

This commit is contained in:
yalh76 2020-06-18 15:32:01 +02:00
parent acfb394912
commit 5fcab5dee4
4 changed files with 6 additions and 4 deletions

View file

@ -182,7 +182,7 @@ touch "/usr/share/yunohost/templates/jitsi/auth.$domain.cfg.lua"
# Add Metronome hook
cp -R ../conf/metronome_regen_conf.hook /usr/share/yunohost/hooks/conf_regen/50-metronome_$app
yunohost tools regen-conf metronome
yunohost tools regen-conf metronome --force
metronomectl adduser $focus_user@auth.$domain $focus_password || true
metronomectl adduser $videobridge_user@auth.$domain $videobridge_secret || true

View file

@ -129,7 +129,8 @@ fi
# Remove Metronome Hook
ynh_secure_remove --file="/usr/share/yunohost/hooks/conf_regen/50-metronome_$app"
yunohost tools regen-conf metronome
yunohost tools regen-conf metronome --force
# Delete focus user
# yunohost user delete $focus_user --purge

View file

@ -125,7 +125,7 @@ ynh_restore_file --origin_path="/usr/share/yunohost/templates/jitsi/auth.$domain
# Restore Metronome Hook
ynh_restore_file --origin_path="/usr/share/yunohost/hooks/conf_regen/50-metronome_$app"
yunohost tools regen-conf metronome
yunohost tools regen-conf metronome --force
#=================================================
# RESTORE THE APP CONFIG

View file

@ -67,7 +67,8 @@ if ynh_version_gt "1.0.3387~ynh2" "${current_version}" ; then
# Add Metronome hook
cp -R ../conf/metronome_regen_conf.hook /usr/share/yunohost/hooks/conf_regen/50-metronome_$app
yunohost tools regen-conf metronome
yunohost tools regen-conf metronome --force
fi
if ynh_version_gt "1.0.3969~ynh1" "${current_version}" ; then