Created
October 24, 2016 23:12
-
-
Save hex128/c1ab4f30f30757d4daa874e93fac1f6e 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/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