aboutsummaryrefslogtreecommitdiff
path: root/certificates
diff options
context:
space:
mode:
authorJulien Dessaux2024-12-20 16:52:35 +0100
committerJulien Dessaux2024-12-20 16:52:35 +0100
commitf9f929096c4d31b8b65950c346740caac1f42059 (patch)
tree8984720671e1a4392f559fbd36b660dd10d8518b /certificates
parentupdate ods deploy script (diff)
downloadev-scripts-f9f929096c4d31b8b65950c346740caac1f42059.tar.gz
ev-scripts-f9f929096c4d31b8b65950c346740caac1f42059.tar.bz2
ev-scripts-f9f929096c4d31b8b65950c346740caac1f42059.zip
update certificates deployment scriptHEADmaster
Diffstat (limited to '')
-rw-r--r--certificates/certificates-deploy.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/certificates/certificates-deploy.sh b/certificates/certificates-deploy.sh
index f431563..ceaa7f6 100644
--- a/certificates/certificates-deploy.sh
+++ b/certificates/certificates-deploy.sh
@@ -19,9 +19,12 @@ ssh ${SSHOPTS} root@yen.adyxax.org rcctl restart nginx
#cp 'adyxax.org.crt' ~/git/adyxax/ansible/files/adyxax.org.fullchain
#cp 'adyxax.org.key' ~/git/adyxax/ansible/files/adyxax.org.key
# TODO ansible make run
-scp ${SSHOPTS} "${KEY}" root@lore.adyxax.org:/usr/local/etc/nginx/adyxax.org.key
-scp ${SSHOPTS} "${CRT}" root@lore.adyxax.org:/usr/local/etc/nginx/adyxax.org.fullchain
+scp ${SSHOPTS} "${KEY}" root@lore.adyxax.org:/etc/nginx/adyxax.org.key
+scp ${SSHOPTS} "${CRT}" root@lore.adyxax.org:/etc/nginx/adyxax.org.fullchain
ssh ${SSHOPTS} root@lore.adyxax.org service nginx reload
+scp ${SSHOPTS} "${KEY}" root@lore.adyxax.org:/etc/mail/adyxax.org.key
+scp ${SSHOPTS} "${CRT}" root@lore.adyxax.org:/etc/mail/adyxax.org.fullchain
+ssh ${SSHOPTS} root@lore.adyxax.org systemctl opensmtpd restart
scp ${SSHOPTS} "${KEY}" root@kaladin.adyxax.org:/usr/local/etc/nginx/adyxax.org.key
scp ${SSHOPTS} "${CRT}" root@kaladin.adyxax.org:/usr/local/etc/nginx/adyxax.org.fullchain
ssh ${SSHOPTS} root@kaladin.adyxax.org service nginx reload