kolla/docker/letsencrypt/extend_start.sh
Jason Anderson 68f5856728 Add LetsEncrypt images for cert request/renewal
Adds container images for LetsEncrypt.

Implements: blueprint letsencrypt-https
Change-Id: I36d1a367fd8f40bb93ebc49122c8ee4fdcc151b2
Co-Authored-By: Jason Anderson <jasonanderson@uchicago.edu>
2022-02-04 22:55:00 +00:00

11 lines
250 B
Bash

#!/bin/bash
if [[ ! -d "/var/log/kolla/letsencrypt" ]]; then
mkdir -p /var/log/kolla/letsencrypt
fi
if [[ $(stat -c %a /var/log/kolla/letsencrypt) != "755" ]]; then
chmod 755 /var/log/kolla/letsencrypt
fi
. /usr/local/bin/kolla_httpd_setup