comparison renewSsl.sh @ 0:dfc36e7ed22c

init
author Vadim Filimonov <fffilimonov@yandex.ru>
date Thu, 12 May 2022 13:51:59 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:dfc36e7ed22c
1 #!/bin/bash
2
3 set -e
4
5 cd "$1";
6
7 ROOTPWD=$(pwd);
8
9 cd letsencrypt;
10 ./acme.sh --renew-all --cert-home "$ROOTPWD/local/ssl" --config-home "$ROOTPWD"/letsencrypt/config;
11
12 sudo $(which nginx) -s reload;