minor changes, auto-certificate

This commit is contained in:
mihalin 2021-09-15 23:26:36 +03:00
parent 057d17a296
commit 110cf98d2d

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
if [[ -z "${CUSTOM_CERT}" ]]; then
if [[ ! -z "${CUSTOM_CERT}" ]]; then
echo "Use custom certificate"
if [ ! -f /cert/private.key ]; then
echo "Generate new certificate"