dot-files/old-scripts/.local/bin/send-toy-certs

5 lines
266 B
Bash

#!/usr/bin/env bash
sudo systemctl start lego@toy.xbudex.com.service
scp /etc/ssl/certificates/toy.xbudex.com.crt toy.xbudex.com:AppData/Local/Syncthing/https-cert.pem
scp /etc/ssl/certificates/toy.xbudex.com.key toy.xbudex.com:AppData/Local/Syncthing/https-key.pem