annotate host/startup/renewSsl.sh @ 1634:894d9069c792

remove duplicate files
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 14 Dec 2021 17:37:09 -0700
parents 35c626c06dd5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1631
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
1 #!/bin/bash
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
2
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
3 set -e
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
4
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
5 cd "$1";
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
6
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
7 ROOTPWD=$(pwd);
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
8
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
9 ./acme.sh --renew-all --cert-home "$ROOTPWD"/sites --config-home "$ROOTPWD"/local/letsencrypt/config;
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
10
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
11 sudo $(which nginx) -s reload;