diff --git a/public/templates/commands.html b/public/templates/commands.html index 1c6edc5..ad012b4 100644 --- a/public/templates/commands.html +++ b/public/templates/commands.html @@ -38,7 +38,7 @@ --> /etc/nginx/nginx.conf /etc/nginx/sites-{{ isSymlink() ? 'available' : 'enabled' }}/{{ _domain }}.conf . Configure Certbot to reload NGINX on success: - echo -e '#!/bin/bash\nnginx -t && systemctl reload nginx.service' | sudo tee /etc/letsencrypt/renewal-hooks/post/nginx-reload.sh + echo -e '#!/bin/bash\nnginx -t && systemctl reload nginx' | sudo tee /etc/letsencrypt/renewal-hooks/post/nginx-reload.sh sudo chmod a+x /etc/letsencrypt/renewal-hooks/post/nginx-reload.sh . Obtain certificate{{ getDomains().length > 1 ? 's' : '' }}: @@ -67,4 +67,4 @@ step: live -->. Reload NGINX - sudo nginx -t && sudo systemctl reload nginx.service + sudo nginx -t && sudo systemctl reload nginx