annotate host/renewSsl.sh @ 1755:78cedcd6e1a4

revert
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 04 Feb 2023 23:24:03 -0700
parents 0344a535b1db
children 27a2530f04b6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1632
0344a535b1db add doc
fffilimonov
parents:
diff changeset
1 #!/bin/bash
0344a535b1db add doc
fffilimonov
parents:
diff changeset
2
0344a535b1db add doc
fffilimonov
parents:
diff changeset
3 set -e
0344a535b1db add doc
fffilimonov
parents:
diff changeset
4
0344a535b1db add doc
fffilimonov
parents:
diff changeset
5 cd "$1";
0344a535b1db add doc
fffilimonov
parents:
diff changeset
6
0344a535b1db add doc
fffilimonov
parents:
diff changeset
7 ROOTPWD=$(pwd);
0344a535b1db add doc
fffilimonov
parents:
diff changeset
8
0344a535b1db add doc
fffilimonov
parents:
diff changeset
9 ./acme.sh --renew-all --cert-home "$ROOTPWD"/sites --config-home "$ROOTPWD"/local/letsencrypt/config;
0344a535b1db add doc
fffilimonov
parents:
diff changeset
10
0344a535b1db add doc
fffilimonov
parents:
diff changeset
11 sudo $(which nginx) -s reload;