mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 05:14:04 +02:00
@@ -11,9 +11,7 @@ if [[ "$LOCATION" = "null" || -z "$LOCATION" ]]; then LOCATION=/config/addons_co
|
|||||||
|
|
||||||
# Set data location
|
# Set data location
|
||||||
bashio::log.info "Setting data location to $LOCATION"
|
bashio::log.info "Setting data location to $LOCATION"
|
||||||
sed -i "s|/config|$LOCATION|g" /etc/services.d/jellyfin/run
|
for file in $(grep -sril "/config" /etc /defaults); do sed -i "s=/config=$LOCATION=g" $file; done
|
||||||
sed -i "s|/config|$LOCATION|g" /etc/cont-init.d/10-adduser
|
|
||||||
sed -i "s|/config|$LOCATION|g" /etc/cont-init.d/30-config
|
|
||||||
|
|
||||||
echo "Creating $LOCATION"
|
echo "Creating $LOCATION"
|
||||||
mkdir -p "$LOCATION"
|
mkdir -p "$LOCATION"
|
||||||
|
|||||||
Reference in New Issue
Block a user