annotate host/renewSsl.sh @ 1831:8f9ae295bf6a default tip

add Hosted.authorize
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 26 Sep 2024 15:07:45 -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;