minor changes, auto-certificate

This commit is contained in:
mihalin 2021-09-15 23:36:33 +03:00
parent e7673bbd2b
commit 87501ded62

View File

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