mirror of
https://github.com/YunoHost-Apps/jitsi_ynh.git
synced 2024-09-03 19:35:57 +02:00
From @Kayou
This commit is contained in:
parent
6d97d2b68d
commit
f6b1d34d32
3 changed files with 3 additions and 3 deletions
|
@ -129,7 +129,7 @@ ynh_system_user_create --username=$app --home_dir=$final_path
|
|||
ynh_print_info --message="Configuring metronome..."
|
||||
|
||||
# Create additional domains
|
||||
if [[ $domain == *"domain.tld"* ]]; then
|
||||
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
|
||||
yunohost domain add auth.$domain
|
||||
yunohost domain add conference.$domain
|
||||
yunohost domain add jitsi-videobridge.$domain
|
||||
|
|
|
@ -132,7 +132,7 @@ ynh_systemd_action --service_name=metronome --action=restart
|
|||
yunohost user delete $focus_user --purge
|
||||
|
||||
# Removing additional domains
|
||||
if [[ $domain == *"domain.tld"* ]]; then
|
||||
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
|
||||
yunohost domain remove auth.$domain
|
||||
yunohost domain remove conference.$domain
|
||||
yunohost domain remove jitsi-videobridge.$domain
|
||||
|
|
|
@ -106,7 +106,7 @@ ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $port_component
|
|||
ynh_print_info --message="Configuring metronome..."
|
||||
|
||||
# Create additional domains
|
||||
if [[ $domain == *"domain.tld"* ]]; then
|
||||
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
|
||||
yunohost domain add auth.$domain
|
||||
yunohost domain add conference.$domain
|
||||
yunohost domain add jitsi-videobridge.$domain
|
||||
|
|
Loading…
Add table
Reference in a new issue