From 7393be49b4a6e4afc3a8a18fbe0f6a0e7a5708b4 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Fri, 14 Jul 2023 23:43:43 -0700 Subject: [PATCH] updated sp.sh --- for_new_sovran_pros/sp.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/for_new_sovran_pros/sp.sh b/for_new_sovran_pros/sp.sh index f637cf4..0af85d0 100644 --- a/for_new_sovran_pros/sp.sh +++ b/for_new_sovran_pros/sp.sh @@ -58,13 +58,6 @@ echo -e "${GREEN}What is the email you would like to use to manage the SSL certi 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 @@ -151,6 +144,12 @@ popd # +chown caddy:php /var/lib/domains -R + +chmod 770 /var/lib/domains -R + +# + mkdir /root/.ssh/agenix ssh-keygen -q -N "" -t ed25519 -f /root/.ssh/agenix/agenix-secret-keys