dot-files/dot_local/bin/executable_send-toy-certs.tmpl
2023-05-29 16:19:59 -07:00

9 lines
382 B
Bash
Executable File

# chezmoi:template:left-delimiter=#{{
#{{- /* vim: set filetype=bash: */ -}}
#{{ if .include_legacy -}}
#!/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
#{{- end }}