initial upload

This commit is contained in:
Alexandre
2022-04-23 18:20:55 +02:00
parent d4b144ef89
commit 651d5c7936
12 changed files with 328 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
CONFIG_LOCATION=$(bashio::config 'CONFIG_LOCATION')
bashio::log.info "Config stored in $CONFIG_LOCATION"
mkdir -p "$CONFIG_LOCATION"
chown -R abc:abc "$CONFIG_LOCATION"
sed -i "s|/config/addons_config/overseerr|$CONFIG_LOCATION|g" /etc/services.d/overseerr/run
sed -i "s|/config/addons_config/overseerr|$CONFIG_LOCATION|g" /etc/cont-init.d/30-config