From 926b669bd64ab827c306f27db7033acf69dbdaf5 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 14 Jul 2019 01:20:14 +0200 Subject: [PATCH] Include domain add --- scripts/install | 16 ++++++++-------- scripts/remove | 8 ++++---- scripts/restore | 16 ++++++++-------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/scripts/install b/scripts/install index 056d313..fff8748 100644 --- a/scripts/install +++ b/scripts/install @@ -132,14 +132,14 @@ ynh_system_user_create --username=$app --home_dir=$final_path ynh_script_progression --message="Configuring metronome..." --time --weight=1 # Create additional domains -#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 +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 # Create focus user yunohost user create $focus_user -f $focus_user -l $focus_user -m ${focus_user}@auth.$domain -p $focus_password -q 0 diff --git a/scripts/remove b/scripts/remove index 508fd29..4ba584a 100644 --- a/scripts/remove +++ b/scripts/remove @@ -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 diff --git a/scripts/restore b/scripts/restore index 3ede92a..ee9a937 100644 --- a/scripts/restore +++ b/scripts/restore @@ -106,14 +106,14 @@ ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $port_component ynh_script_progression --message="Configuring metronome..." --time --weight=1 # Create additional domains -#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 +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 # Create focus user yunohost user create $focus_user -f $focus_user -l $focus_user -m ${focus_user}@auth.$domain -p $focus_password -q 0