mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-04-14 03:18:02 +02:00
Update Dockerfile
This commit is contained in:
@@ -38,9 +38,9 @@ RUN \
|
||||
&& sed -i 's/{PGID:-911}/(bashio::config "PGID")/g' /etc/cont-init.d/10-adduser \
|
||||
\
|
||||
# Correct config folder
|
||||
&& grep -rl " /config" /etc/cont-init.d | xargs sed -i 's| /config| /config/resiliosync|g' || true \
|
||||
&& grep -rl " /config" /etc/services.d | xargs sed -i 's| /config| /config/resiliosync|g' || true \
|
||||
&& sed -i 's=/config/resiliosync=/config/resiliosync || true=g' /etc/cont-init.d/10-adduser || true \
|
||||
&& grep -rl " /config" /etc/cont-init.d | xargs sed -i 's| /config| /share/resiliosync_config|g' || true \
|
||||
&& grep -rl " /config" /etc/services.d | xargs sed -i 's| /config| /share/resiliosync_config|g' || true \
|
||||
&& sed -i 's=/config/resiliosync=/share/resiliosync_config || true=g' /etc/cont-init.d/10-adduser || true \
|
||||
\
|
||||
# Correct sync folder
|
||||
&& grep -rl "/sync/" /etc/cont-init.d | xargs sed -i 's|/sync/|/share/resiliosync|g' || true \
|
||||
|
||||
Reference in New Issue
Block a user