diff --git a/scripts/install b/scripts/install index 830465417bab67afa7e9105bcec690688f85f0c8..95b977af680916b703e8520e8953baf10fbffc0a 100755 --- a/scripts/install +++ b/scripts/install @@ -1,6 +1,6 @@ #!/bin/bash -eux -PG_PASSWORD=`tr -dc A-Za-z0-9_ < /dev/urandom | head -c 20 | xargs` +PG_PASSWORD=`cat /dev/random | base64 | head -c 20 | xargs` echo "DISCOURSE_SMTP_ADDRESS=${MAIL_HOST}" > env echo "DISCOURSE_SMTP_PORT=587" >> env