adguard_home_custom/run.sh hinzugefügt
This commit is contained in:
parent
4228ebb0a3
commit
8ca381ceae
17
adguard_home_custom/run.sh
Normal file
17
adguard_home_custom/run.sh
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user