Reshuffle definitions

This commit is contained in:
jacob.eva 2023-09-21 18:41:33 +01:00
parent 740c0ce506
commit b31e167dc1
No known key found for this signature in database
GPG Key ID: 0B92E083BBCCAA1E

View File

@ -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