Add /usr/bin to PATH

This commit is contained in:
Raphaël Hertzog 2017-01-02 20:35:38 +01:00
parent e5b1bbbb3f
commit 72c851c105
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
{% from "letsencrypt-sh/map.jinja" import letsencrypt_sh with context %} {% from "letsencrypt-sh/map.jinja" import letsencrypt_sh with context %}
{% if letsencrypt_sh.hook_service_to_reload %} {% if letsencrypt_sh.hook_service_to_reload %}
if [ "$1" = "deploy_cert" ]; then if [ "$1" = "deploy_cert" ]; then
export PATH="/sbin:/bin:/usr/sbin:/sbin" export PATH="/sbin:/bin:/usr/sbin:/usr/bin"
service {{ letsencrypt_sh.hook_service_to_reload }} reload service {{ letsencrypt_sh.hook_service_to_reload }} reload
fi fi
{% else %} {% else %}