annotate host/renewSsl.sh @ 1762:7d2297155ee3

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 19 May 2023 18:08:46 -0600
parents 27a2530f04b6
children
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 cd "$1";
0344a535b1db add doc
fffilimonov
parents:
diff changeset
4
0344a535b1db add doc
fffilimonov
parents:
diff changeset
5 ROOTPWD=$(pwd);
0344a535b1db add doc
fffilimonov
parents:
diff changeset
6
0344a535b1db add doc
fffilimonov
parents:
diff changeset
7 ./acme.sh --renew-all --cert-home "$ROOTPWD"/sites --config-home "$ROOTPWD"/local/letsencrypt/config;
0344a535b1db add doc
fffilimonov
parents:
diff changeset
8
1758
27a2530f04b6 fix reload nginx from startup script
Vadim Filimonov <fffilimonov@yandex.ru>
parents: 1632
diff changeset
9 sudo /usr/local/bin/nginx -s reload;