Skip to content

Instantly share code, notes, and snippets.

@hex128
Created October 24, 2016 23:12
Show Gist options
  • Save hex128/c1ab4f30f30757d4daa874e93fac1f6e to your computer and use it in GitHub Desktop.
Save hex128/c1ab4f30f30757d4daa874e93fac1f6e to your computer and use it in GitHub Desktop.
#!/bin/sh
echo "$(date --rfc-3339=seconds) $*" >> "/var/log/letsencrypt.log"
if [ "$1" = "deploy_cert" ]; then
/bin/systemctl reload nginx
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment