ansible/server/scripts/renew_certificates.sh

9 lines
162 B
Bash
Executable File

#!/bin/bash
# certificate obtained with
#letsencrypt certonly --standalone -d home.bauer.tech
service nginx stop
sleep 30
letsencrypt renew
service nginx start