Skip to content

Instantly share code, notes, and snippets.

@da-n
Created September 16, 2016 04:19
Show Gist options
  • Save da-n/562af83a74426d943782240e73de4dfb to your computer and use it in GitHub Desktop.
Save da-n/562af83a74426d943782240e73de4dfb to your computer and use it in GitHub Desktop.
Renew certs letsencrypt 16.04
#/bin/sh
echo "Running certbot-auto renew script"
date
echo
/home/ubuntu/certbot-auto renew --no-self-upgrade --standalone --pre-hook "service nginx stop" --post-hook "service nginx start"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment