Release 1.2.1 - See CHANGELOG.md

This commit is contained in:
Dave Conroy 2020-01-02 08:24:07 -08:00
parent ea87f770ee
commit d22a4d4dfe
3 changed files with 13 additions and 5 deletions

View file

@ -1,3 +1,9 @@
## 1.2.1 2020-01-02 <dave at tiredofit dot ca>
### Changed
- Additional changes to support new tiredofit/alpine base image
## 1.2.0 2019-12-30 <dave at tiredofit dot ca> ## 1.2.0 2019-12-30 <dave at tiredofit dot ca>
### Added ### Added

View file

@ -1,6 +1,6 @@
#!/usr/bin/with-contenv /bin/bash #!/usr/bin/with-contenv /bin/bash
source /assets/functions/* for s in /assets/functions/*; do source $s; done
PROCESS_NAME="postal" PROCESS_NAME="postal"
### Set Defaults ### Set Defaults
@ -59,7 +59,7 @@ fi
### SSL Configuration ### SSL Configuration
if [ "$SMTP_SERVER_ENABLE_TLS" = "true" ]; then if [ "$SMTP_SERVER_ENABLE_TLS" = "true" ]; then
if [ ! -f "/opt/postal/certs/$SMTP_SERVER_TLS_CERT" ] || [ ! -f "/opt/postal/certs/$SMTP_SERVER_TLS_KEY" ]; then if [ ! -f "/opt/postal/certs/$SMTP_SERVER_TLS_CERT" ] || [ ! -f "/opt/postal/certs/$SMTP_SERVER_TLS_KEY" ]; then
print_warn "** [psotal] TLS Key or certificate not found. Generating self-signed certificates" print_warn "TLS Key or certificate not found. Generating self-signed certificates"
cat <<EOF > /tmp/openssl.cnf cat <<EOF > /tmp/openssl.cnf
[ req ] [ req ]
default_bits = 2048 default_bits = 2048

View file

@ -1,8 +1,10 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
source /assets/functions/* for s in /assets/functions/*; do source $s; done
PROCESS_NAME="postal" PROCESS_NAME="nginx"
check_initialized
check_container_initialized
check_service_initialized init
liftoff liftoff
print_info "Starting postal" print_info "Starting postal"