comparison host/renewSsl.sh @ 1760:13da09b5b13b

merge
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 10 Apr 2023 17:46:41 -0600
parents 27a2530f04b6
children
comparison
equal deleted inserted replaced
1759:6668513a11d7 1760:13da09b5b13b
1 #!/bin/bash 1 #!/bin/bash
2
3 set -e
4 2
5 cd "$1"; 3 cd "$1";
6 4
7 ROOTPWD=$(pwd); 5 ROOTPWD=$(pwd);
8 6
9 ./acme.sh --renew-all --cert-home "$ROOTPWD"/sites --config-home "$ROOTPWD"/local/letsencrypt/config; 7 ./acme.sh --renew-all --cert-home "$ROOTPWD"/sites --config-home "$ROOTPWD"/local/letsencrypt/config;
10 8
11 sudo $(which nginx) -s reload; 9 sudo /usr/local/bin/nginx -s reload;