mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-30 09:31:44 +00:00
This commit is contained in:
1 parent
a9642eee24
commit
e6ed50c99f
1 file changed
+3
-2
@@ -7,5 +7,6 @@ bashio::log.info "Config stored in $CONFIG_LOCATION"
|
|||||||
mkdir -p "$CONFIG_LOCATION"
|
mkdir -p "$CONFIG_LOCATION"
|
||||||
chown -R abc:abc "$CONFIG_LOCATION"
|
chown -R abc:abc "$CONFIG_LOCATION"
|
||||||
|
|
||||||
sed -i "s|/config/addons_config/overseerr|$CONFIG_LOCATION|g" /etc/services.d/overseerr/run
|
for file in $(grep -Esril '/config[ /]|/config$' /etc/logrotate.d /defaults /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d); do
|
||||||
sed -i "s|/config/addons_config/overseerr|$CONFIG_LOCATION|g" /etc/cont-init.d/30-config
|
sed -i "s=/config/addons_config/overseerr=$CONFIGLOCATION=g" "$file"
|
||||||
|
done
|
||||||
Reference in new issue
Block a user