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

remove domain creation

This commit is contained in:
yalh76 2019-07-14 11:41:52 +02:00
parent 3a69f4ec2b
commit 9f60234395
4 changed files with 25 additions and 21 deletions

View file

@ -16,7 +16,7 @@ Jitsi Meet is an open-source (Apache) WebRTC JavaScript application that uses Ji
## Important points to read before installing
1. **Jitsi** require a dedicated **root domain**, eg. jitsi.domain.tld
2. **Jitsi** require your create additionals dns names in your dns that goes to your YunoHost
2. **Jitsi** require you create additionals domains in your dns and in your YunoHost
* auth.jitsi.domain.tld
* conference.jitsi.domain.tld
* jitsi-videobridge.jitsi.domain.tld

View file

@ -131,14 +131,16 @@ ynh_system_user_create --username=$app --home_dir=$final_path
ynh_script_progression --message="Configuring metronome..." --time --weight=1
# Create additional domains
if [[ $domain == *"domain.tld"* ]]; then
yunohost domain add auth.$domain
yunohost domain add conference.$domain
yunohost domain add jitsi-videobridge.$domain
yunohost domain add focus.$domain
yunohost domain cert-install auth.$domain
yunohost domain cert-install conference.$domain
yunohost domain cert-install jitsi-videobridge.$domain
yunohost domain cert-install focus.$domain
fi
#yunohost domain cert-install auth.$domain
#yunohost domain cert-install conference.$domain
#yunohost domain cert-install jitsi-videobridge.$domain
#yunohost domain cert-install focus.$domain
# Create focus user
yunohost user create $focus_user -f $focus_user -l $focus_user -m ${focus_user}@auth.$domain -p $focus_password -q 0

View file

@ -132,10 +132,10 @@ ynh_systemd_action --service_name=metronome --action=restart
yunohost user delete $focus_user --purge
# Removing additional domains
yunohost domain remove auth.$domain
yunohost domain remove conference.$domain
yunohost domain remove jitsi-videobridge.$domain
yunohost domain remove focus.$domain
#yunohost domain remove auth.$domain
#yunohost domain remove conference.$domain
#yunohost domain remove jitsi-videobridge.$domain
#yunohost domain remove focus.$domain
#=================================================
# REMOVE THE CRON FILE

View file

@ -106,14 +106,16 @@ ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $port_component
ynh_script_progression --message="Configuring metronome..." --time --weight=1
# Create additional domains
if [[ $domain == *"domain.tld"* ]]; then
yunohost domain add auth.$domain
yunohost domain add conference.$domain
yunohost domain add jitsi-videobridge.$domain
yunohost domain add focus.$domain
yunohost domain cert-install auth.$domain
yunohost domain cert-install conference.$domain
yunohost domain cert-install jitsi-videobridge.$domain
yunohost domain cert-install focus.$domain
fi
#yunohost domain cert-install auth.$domain
#yunohost domain cert-install conference.$domain
#yunohost domain cert-install jitsi-videobridge.$domain
#yunohost domain cert-install focus.$domain
# Create focus user
yunohost user create $focus_user -f $focus_user -l $focus_user -m ${focus_user}@auth.$domain -p $focus_password -q 0