Created
June 8, 2018 06:36
-
-
Save kehers/ce89a68ca215213cc51e01206eeb73a0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
certbot renew --quiet --webroot -w /var/www/public_html | |
DOMAIN="suet.co" | |
cat "/etc/letsencrypt/live/$DOMAIN/fullchain.pem" "/etc/letsencrypt/live/$DOMAIN/privkey.pem" > "/etc/letsencrypt/live/$DOMAIN/$DOMAIN.pem" | |
service haproxy restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment