From 8ca381ceaeccd6c0c576c6f84f719a8be3245e60 Mon Sep 17 00:00:00 2001 From: sascha Date: Sun, 4 Jan 2026 17:10:32 +0000 Subject: [PATCH] =?UTF-8?q?adguard=5Fhome=5Fcustom/run.sh=20hinzugef=C3=BC?= =?UTF-8?q?gt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adguard_home_custom/run.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 adguard_home_custom/run.sh diff --git a/adguard_home_custom/run.sh b/adguard_home_custom/run.sh new file mode 100644 index 0000000..f9c2871 --- /dev/null +++ b/adguard_home_custom/run.sh @@ -0,0 +1,17 @@ +#!/usr/bin/with-contenv bashio + +CONFIG_DIR="/addon_config/adguardhome" + +# Erstelle Verzeichnis falls nicht existent +if [ ! -d "$CONFIG_DIR" ]; then + mkdir -p "$CONFIG_DIR" +fi + +# Symlink für die Konfiguration setzen +ln -sfn "$CONFIG_DIR" /opt/adguardhome/conf + +echo "Starte AdGuard Home..." +/opt/adguardhome/AdGuardHome \ + -c /opt/adguardhome/conf/AdGuardHome.yaml \ + -w /opt/adguardhome/work \ + --no-check-update \ No newline at end of file