1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 00:22:50 -05:00

script updates

This commit is contained in:
Kyle Spearrin
2017-08-23 16:29:55 -04:00
parent 9af19bfcb8
commit 0733897cea
6 changed files with 10 additions and 4 deletions

View File

@ -38,7 +38,7 @@ function dockerPrune() {
}
function updateLetsEncrypt() {
if [ -d "${outputDir}/letsencrypt" ]
if [ -d "${outputDir}/letsencrypt/live" ]
then
docker run -it --rm --name certbot -p 443:443 -p 80:80 -v $OUTPUT_DIR/letsencrypt:/etc/letsencrypt/ certbot/certbot \
renew --logs-dir /etc/letsencrypt/logs