Skip to content

Instantly share code, notes, and snippets.

@worldwise001
Created June 13, 2019 04:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save worldwise001/a4582bc33609855afb38b3846fc89423 to your computer and use it in GitHub Desktop.
Save worldwise001/a4582bc33609855afb38b3846fc89423 to your computer and use it in GitHub Desktop.
cert_renewal.sh (ArchLinux)
#!/bin/sh
systemctl stop nginx
certbot renew --authenticator standalone --agree-tos
systemctl start nginx
systemctl restart slapd
systemctl restart dovecot
systemctl restart exim
cat /etc/letsencrypt/live/x.shh.sh/chain.pem /etc/ssl/certs/DST_Root_CA_X3.pem > /srv/common/slapd.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment