1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00

silently make dirs

This commit is contained in:
Kyle Spearrin 2017-08-21 11:24:39 -04:00
parent a0a5bffec9
commit 437422ca60

View File

@ -3,7 +3,7 @@ param (
)
if(!(Test-Path -Path $outputDir )){
New-Item -ItemType directory -Path $outputDir
New-Item -ItemType directory -Path $outputDir | Out-Null
}
docker --version
@ -20,7 +20,7 @@ if($domain -ne "localhost") {
$letsEncryptPath = "${outputDir}/letsencrypt/live/${domain}"
if(!(Test-Path -Path $letsEncryptPath )){
New-Item -ItemType directory -Path $letsEncryptPath
New-Item -ItemType directory -Path $letsEncryptPath | Out-Null
}
docker run -it --rm --name certbot -p 80:80 -v $outputDir/letsencrypt:/etc/letsencrypt/ certbot/certbot `
certonly --standalone --noninteractive --agree-tos --preferred-challenges http --email $email -d $domain