diff --git a/resiliosync/Dockerfile b/resiliosync/Dockerfile index aa1d48b7e..9b1da4859 100644 --- a/resiliosync/Dockerfile +++ b/resiliosync/Dockerfile @@ -38,14 +38,14 @@ 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' \ - && grep -rl " /config" /etc/services.d | xargs sed -i 's| /config| /config/resiliosync|g' \ - && sed -i 's=/config/resiliosync=/config/resiliosync || true=g' /etc/cont-init.d/10-adduser \ + && 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 \ \ # Correct sync folder - && grep -rl "/sync/" /etc/cont-init.d | xargs sed -i 's|/sync/|/share/resiliosync|g' \ - && grep -rl " /sync" /etc/cont-init.d | xargs sed -i 's| /sync| /share/resiliosync|g' \ - && sed -i 's=/sync/=/share/resiliosync/=g' /defaults + && grep -rl "/sync/" /etc/cont-init.d | xargs sed -i 's|/sync/|/share/resiliosync|g' || true \ + && grep -rl " /sync" /etc/cont-init.d | xargs sed -i 's| /sync| /share/resiliosync|g' || true \ + && sed -i 's=/sync/=/share/resiliosync/=g' /defaults || true VOLUME [ "/data" ]