mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 00:22:50 -05:00
script updates
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user