mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update Dockerfile
This commit is contained in:
@@ -32,6 +32,8 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
||||
RUN \
|
||||
sed -i "s|bash|bashio|g" /etc/s6-overlay/s6-rc.d/svc-resilio-sync/run \
|
||||
&& sed -i "s|/config/sync.conf|\$(bashio::config 'config_location')/sync.conf|g" /etc/s6-overlay/s6-rc.d/svc-resilio-sync/run \
|
||||
&& sed -i "s|bash|bashio|g" /etc/s6-overlay/s6-rc.d/init-resilio-sync-config/run \
|
||||
&& sed -i "s|/config/sync.conf|\$(bashio::config 'config_location')/sync.conf|g" /etc/s6-overlay/s6-rc.d/init-resilio-sync-config/run \
|
||||
\
|
||||
# Correct sync folder
|
||||
&& for file in $(grep -Esril "/sync[ '\"/]|/sync\$" /etc/logrotate.d /defaults /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d); do sed -i "s=/sync=/share/resiliosync=g" $file; done \
|
||||
|
||||
Reference in New Issue
Block a user