From 40ceec1d9e4107092877757429064dfbbf985afc Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Fri, 14 Jul 2023 23:42:37 -0700 Subject: [PATCH] updated sp.sh --- for_new_sovran_pros/sp.sh | 72 ++++++++++++++++++++------------------- 1 file changed, 37 insertions(+), 35 deletions(-) diff --git a/for_new_sovran_pros/sp.sh b/for_new_sovran_pros/sp.sh index 087612a..f637cf4 100644 --- a/for_new_sovran_pros/sp.sh +++ b/for_new_sovran_pros/sp.sh @@ -30,6 +30,43 @@ touch /var/lib/domains/wordpress # +echo -e "${GREEN}What is your New Matrix (Element Chat) domain name?${ENDCOLOR}" +read +echo -n $REPLY > /var/lib/domains/matrix + +echo -e "${GREEN}What is your New Wordpress domain name?${ENDCOLOR}" +read +echo -n $REPLY > /var/lib/domains/wordpress + +echo -e "${GREEN}What is your New Nextcloud domain name?${ENDCOLOR}" +read +echo -n $REPLY > /var/lib/domains/nextcloud + +echo -e "${GREEN}What is your New BTCPayserver domain name?${ENDCOLOR}" +read +echo -n $REPLY > /var/lib/domains/btcpayserver + +echo -e "${GREEN}What is your New Vaultwarden domain name?${ENDCOLOR}" +read +echo -n $REPLY > /var/lib/domains/vaultwarden + +echo -e "${GREEN}What is your New OnlyOffice domain name?${ENDCOLOR}" +read +echo -n $REPLY > /var/lib/domains/onlyoffice + +echo -e "${GREEN}What is the email you would like to use to manage the SSL certificates for your domains?${ENDCOLOR}" +read +echo -n $REPLY > /var/lib/domains/sslemail + + +chown caddy:php /var/lib/domains -R + +chmod 770 /var/lib/domains -R + +# + +# + mkdir /var/lib/nextcloudaddition cat <> /var/lib/nextcloudaddition/nextcloudaddition @@ -195,41 +232,6 @@ chmod 770 /var/lib/secrets/ -R # -echo -e "${GREEN}What is your New Matrix (Element Chat) domain name?${ENDCOLOR}" -read -echo -n $REPLY > /var/lib/domains/matrix - -echo -e "${GREEN}What is your New Wordpress domain name?${ENDCOLOR}" -read -echo -n $REPLY > /var/lib/domains/wordpress - -echo -e "${GREEN}What is your New Nextcloud domain name?${ENDCOLOR}" -read -echo -n $REPLY > /var/lib/domains/nextcloud - -echo -e "${GREEN}What is your New BTCPayserver domain name?${ENDCOLOR}" -read -echo -n $REPLY > /var/lib/domains/btcpayserver - -echo -e "${GREEN}What is your New Vaultwarden domain name?${ENDCOLOR}" -read -echo -n $REPLY > /var/lib/domains/vaultwarden - -echo -e "${GREEN}What is your New OnlyOffice domain name?${ENDCOLOR}" -read -echo -n $REPLY > /var/lib/domains/onlyoffice - -echo -e "${GREEN}What is the email you would like to use to manage the SSL certificates for your domains?${ENDCOLOR}" -read -echo -n $REPLY > /var/lib/domains/sslemail - - -chown caddy:php /var/lib/domains -R - -chmod 770 /var/lib/domains -R - -# - set -x #