diff options
Diffstat (limited to 'roles/sky/templates/certbot-nginx.sh.j2')
-rwxr-xr-x | roles/sky/templates/certbot-nginx.sh.j2 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/sky/templates/certbot-nginx.sh.j2 b/roles/sky/templates/certbot-nginx.sh.j2 new file mode 100755 index 0000000..96ffe6d --- /dev/null +++ b/roles/sky/templates/certbot-nginx.sh.j2 @@ -0,0 +1,9 @@ +#!/bin/sh + +case "$RENEWED_LINEAGE" in +*'/{{ domain_name }}') + exec systemctl reload nginx.service + ;; +esac + +# vim: set ts=2 sw=2 et: |