Alexandre
2023-05-03 18:16:47 +02:00
parent 3a91acd39d
commit 37880636f0
13 changed files with 1056 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
# Create files
CONFIG_LOCATION="/config/addons_config/jellyseer"
bashio::log.info "Config stored in $CONFIG_LOCATION"
mkdir -p "$CONFIG_LOCATION"
cp -rnT /app/config "$CONFIG_LOCATION"
cp -rnT /app /data
rm -r /app
rm -r /data/config
ln -s "$CONFIG_LOCATION" /data/config
# Create files
export JELLYFIN_TYPE=$(bashio::config 'TYPE')
export TZ=$(bashio::config 'TZ')
yarn start