Skip to content

Commit

Permalink
🔨 Enable use of AdGuard Home work-dir option
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Aug 23, 2019
1 parent 1f9a435 commit 3ea4551
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions adguard/rootfs/etc/cont-init.d/adguard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@ port=$(bashio::addon.port "53/udp")
yq write --inplace "${CONFIG}" \
'dns.port' "${port}" \
|| hass.die 'Failed updating AdGuardHome DNS port'

ln -s /data/adguard /opt/AdGuardHome/data
3 changes: 1 addition & 2 deletions adguard/rootfs/etc/services.d/adguard/run
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ bashio::log.info "Starting AdGuard Home server..."

options+=(--port 45158)
options+=(--host 127.0.0.1)
options+=(--config data/AdGuardHome.yaml)
options+=(--workdir /data/adguard)
options+=(--work-dir /data/adguard)
options+=(--no-check-update)

if bashio::debug; then
Expand Down

0 comments on commit 3ea4551

Please sign in to comment.