From b31e167dc1e3daa44522255368583a618ad56eae Mon Sep 17 00:00:00 2001 From: "jacob.eva" Date: Thu, 21 Sep 2023 18:41:33 +0100 Subject: [PATCH] Reshuffle definitions --- xmpp-wizard.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/xmpp-wizard.sh b/xmpp-wizard.sh index 7800060..d9e2328 100644 --- a/xmpp-wizard.sh +++ b/xmpp-wizard.sh @@ -2,15 +2,13 @@ sqldb="ejabberd" sqlusername="ejabberd" - pacman -S --noconfirm ejabberd -domains=("conference.$domain" "proxy.$domain" "pubsub.$domain" "upload.$domain") - -certdirs=("/etc/letsencrypt/live/$domain" "/etc/letsencrypt/live/${domains[0]}" "/etc/letsencrypt/live/${domains[1]}" "/etc/letsencrypt/live/${domains[2]}" "/etc/letsencrypt/live/${domains[3]}") - read -p "Enter your domain: " domain +domains=("conference.$domain" "proxy.$domain" "pubsub.$domain" "upload.$domain") +certdirs=("/etc/letsencrypt/live/$domain" "/etc/letsencrypt/live/${domains[0]}" "/etc/letsencrypt/live/${domains[1]}" "/etc/letsencrypt/live/${domains[2]}" "/etc/letsencrypt/live/${domains[3]}") + index=0 # try to find any existing certificates for the various vhosts required by