diff options
Diffstat (limited to '')
-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 |