annotate host/renewSsl.sh @ 1816:e62c88b2883b

docs work
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 11 Jun 2024 21:39:18 -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;