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:
parent
acfb394912
commit
5fcab5dee4
4 changed files with 6 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue