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