1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 16:12:49 -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

@ -29,7 +29,7 @@ function Docker-Prune {
}
function Update-Lets-Encrypt {
if(Test-Path -Path "${outputDir}/letsencrypt") {
if(Test-Path -Path "${outputDir}\letsencrypt\live") {
docker run -it --rm --name certbot -p 443:443 -p 80:80 -v $outputDir/letsencrypt:/etc/letsencrypt/ certbot/certbot `
renew --logs-dir /etc/letsencrypt/logs
}