adguard_home_custom/run.sh hinzugefügt

This commit is contained in:
sascha 2026-01-04 17:10:32 +00:00
parent 4228ebb0a3
commit 8ca381ceae

View File

@ -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