mirror of
https://git.cloudron.io/cloudron/peertube-app.git
synced 2024-11-24 10:31:08 +00:00
more v4 migration removal
This commit is contained in:
parent
4b89c0186d
commit
b50103ed0d
1 changed files with 0 additions and 8 deletions
8
start.sh
8
start.sh
|
@ -59,14 +59,6 @@ update_config() {
|
|||
yq eval ".smtp.disable_starttls = true" -i /app/data/production.yaml
|
||||
yq eval ".smtp.from_address = \"${CLOUDRON_MAIL_FROM}\"" -i /app/data/production.yaml
|
||||
|
||||
echo "==> Migrate config file attributes for v4"
|
||||
# v4 config file migrations https://github.com/Chocobozzz/PeerTube/releases/tag/v4.0.0
|
||||
yq eval "del(.log.rotation.maxFileSize)" -i /app/data/production.yaml
|
||||
yq eval "del(.log.rotation.maxFiles)" -i /app/data/production.yaml
|
||||
yq eval "del(.log.anonymizeIP)" -i /app/data/production.yaml
|
||||
yq eval ".log.rotation.max_file_size = \"1MB\"" -i /app/data/production.yaml
|
||||
yq eval ".log.rotation.max_files = 1" -i /app/data/production.yaml
|
||||
yq eval ".log.anonymizeIP = false" -i /app/data/production.yaml
|
||||
yq eval ".storage.bin = \"/app/data/storage/bin/\"" -i /app/data/production.yaml
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue