Return to bash mode (was there all along apparently)
This commit is contained in:
parent
86d5b8d1c4
commit
0bbc67dd8b
@ -1,4 +1,4 @@
|
|||||||
#!/bin/env sh
|
#!/bin/bash
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
@ -25,7 +25,10 @@ file_env() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
file_env "PEERTUBE_DB_PASSWORD"
|
file_env "PEERTUBE_DB_PASSWORD"
|
||||||
file_env "PEERTUBE_SMTP_PASSWORD"
|
|
||||||
|
if [ -z "$PEERTUBE_SMTP_ENABLED" ]; then
|
||||||
|
file_env "PEERTUBE_SMTP_PASSWORD"
|
||||||
|
fi
|
||||||
|
|
||||||
# upstream entrypoint
|
# upstream entrypoint
|
||||||
# https://github.com/Chocobozzz/PeerTube/blob/66f77f63437c6774acbd72584a9839a7636ea167/support/docker/production/entrypoint.sh
|
# https://github.com/Chocobozzz/PeerTube/blob/66f77f63437c6774acbd72584a9839a7636ea167/support/docker/production/entrypoint.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user