Mercurial Hosting > hghosting
view renewSsl.sh @ 11:bbafc54bbd26
fix ssl renew
author | Vadim Filimonov <fffilimonov@yandex.ru> |
---|---|
date | Thu, 28 Jul 2022 16:10:05 +0300 |
parents | dfc36e7ed22c |
children |
line wrap: on
line source
#!/bin/bash set -e cd "$1"; ROOTPWD=$(pwd); cd letsencrypt; ./acme.sh --renew-all --cert-home "$ROOTPWD/local/ssl" --config-home "$ROOTPWD"/letsencrypt/config; sudo $(which nginx) -s reload;