mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-04 08:04:57 +02:00
Switch to /etc/s6-overlay/s6-rc.d/svc-web
This commit is contained in:
@@ -31,11 +31,11 @@ fi
|
|||||||
|
|
||||||
# Set data location
|
# Set data location
|
||||||
bashio::log.info "Setting data location to $LOCATION"
|
bashio::log.info "Setting data location to $LOCATION"
|
||||||
sed -i "1a export HOME=$LOCATION" /etc/services.d/web/run
|
sed -i "1a export HOME=$LOCATION" /etc/s6-overlay/s6-rc.d/svc-web/run
|
||||||
sed -i "1a export FM_HOME=$LOCATION" /etc/services.d/web/run
|
sed -i "1a export FM_HOME=$LOCATION" /etc/s6-overlay/s6-rc.d/svc-web/run
|
||||||
sed -i "s|/config/addons_config/calibre|$LOCATION|g" /defaults/*
|
sed -i "s|/config/addons_config/calibre|$LOCATION|g" /defaults/*
|
||||||
sed -i "s|/config/addons_config/calibre|$LOCATION|g" /etc/cont-init.d/*
|
sed -i "s|/config/addons_config/calibre|$LOCATION|g" /etc/s6-overlay/s6-rc.d/*/*
|
||||||
sed -i "s|/config/addons_config/calibre|$LOCATION|g" /etc/services.d/*/run
|
sed -i "s|/config/addons_config/calibre|$LOCATION|g" /etc/s6-overlay/s6-rc.d/*/run
|
||||||
usermod --home "$LOCATION" abc
|
usermod --home "$LOCATION" abc
|
||||||
|
|
||||||
# Create folder
|
# Create folder
|
||||||
|
|||||||
Reference in New Issue
Block a user