mirror of
https://git.cloudron.io/cloudron/peertube-app.git
synced 2025-03-30 07:05:28 +00:00
Fix secret generation
This commit is contained in:
parent
567ae45b95
commit
4f310771f2
1 changed files with 1 additions and 1 deletions
2
start.sh
2
start.sh
|
@ -49,7 +49,7 @@ update_config() {
|
|||
echo "==> Ensure and updating configs"
|
||||
|
||||
# version 5 needs this now
|
||||
if [[ `yq eval '.secrets | has("peertube")' /app/data/production.yaml` != "true" ]]; then
|
||||
if [[ `yq eval '.secrets.peertube' /app/data/production.yaml` == "" ]]; then
|
||||
yq eval ".secrets.peertube = \"`openssl rand -hex 32`\"" -i /app/data/production.yaml
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue