annotate host/renewSsl.sh @ 1695:25833dd89844

add backup/update.sh
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 20 Jun 2022 16:37:23 -0600
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;