Mercurial Hosting > luan
changeset 1758:27a2530f04b6
fix reload nginx from startup script
author | Vadim Filimonov <fffilimonov@yandex.ru> |
---|---|
date | Mon, 20 Feb 2023 09:02:20 +0200 |
parents | 0e59609c3173 |
children | 13da09b5b13b |
files | host/renewSsl.sh |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/host/renewSsl.sh Mon Feb 06 19:33:45 2023 -0700 +++ b/host/renewSsl.sh Mon Feb 20 09:02:20 2023 +0200 @@ -1,11 +1,9 @@ #!/bin/bash -set -e - cd "$1"; ROOTPWD=$(pwd); ./acme.sh --renew-all --cert-home "$ROOTPWD"/sites --config-home "$ROOTPWD"/local/letsencrypt/config; -sudo $(which nginx) -s reload; +sudo /usr/local/bin/nginx -s reload;