diff --git a/letsencrypt-sh/files/hook b/letsencrypt-sh/files/hook index 2094e2b..50cf2a4 100644 --- a/letsencrypt-sh/files/hook +++ b/letsencrypt-sh/files/hook @@ -5,6 +5,7 @@ {% from "letsencrypt-sh/map.jinja" import letsencrypt_sh with context %} {% if letsencrypt_sh.hook_service_to_reload %} if [ "$1" = "deploy_cert" ]; then + export PATH="/sbin:/bin:/usr/sbin:/sbin" service {{ letsencrypt_sh.hook_service_to_reload }} reload fi {% else %}