diff options
author | Julien Dessaux | 2024-12-20 16:52:35 +0100 |
---|---|---|
committer | Julien Dessaux | 2024-12-20 16:52:35 +0100 |
commit | f9f929096c4d31b8b65950c346740caac1f42059 (patch) | |
tree | 8984720671e1a4392f559fbd36b660dd10d8518b /certificates/certificates-deploy.sh | |
parent | update ods deploy script (diff) | |
download | ev-scripts-f9f929096c4d31b8b65950c346740caac1f42059.tar.gz ev-scripts-f9f929096c4d31b8b65950c346740caac1f42059.tar.bz2 ev-scripts-f9f929096c4d31b8b65950c346740caac1f42059.zip |
Diffstat (limited to 'certificates/certificates-deploy.sh')
-rw-r--r-- | certificates/certificates-deploy.sh | 7 |
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 |