Return to bash mode (was there all along apparently)

This commit is contained in:
decentral1se 2021-05-06 15:25:44 +02:00
parent 86d5b8d1c4
commit 0bbc67dd8b
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/bin/env sh
#!/bin/bash
set -e
@ -25,7 +25,10 @@ file_env() {
}
file_env "PEERTUBE_DB_PASSWORD"
file_env "PEERTUBE_SMTP_PASSWORD"
if [ -z "$PEERTUBE_SMTP_ENABLED" ]; then
file_env "PEERTUBE_SMTP_PASSWORD"
fi
# upstream entrypoint
# https://github.com/Chocobozzz/PeerTube/blob/66f77f63437c6774acbd72584a9839a7636ea167/support/docker/production/entrypoint.sh