From b91377589466ea214d70a14d1fed11382a909e37 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Wed, 27 Dec 2023 22:48:49 +0100 Subject: [PATCH] backup & restore AGH dnsmasq config is now irrelevant (as it's regenerated at restore) --- scripts/backup | 1 - scripts/restore | 2 -- 2 files changed, 3 deletions(-) diff --git a/scripts/backup b/scripts/backup index 198193b..98ea8cf 100644 --- a/scripts/backup +++ b/scripts/backup @@ -38,7 +38,6 @@ ynh_backup --src_path="/etc/systemd/system/$app.service" # BACKUP VARIOUS FILES #================================================= -ynh_backup --src_path="/etc/dnsmasq.d/$app" #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index 50c91de..81b98ba 100644 --- a/scripts/restore +++ b/scripts/restore @@ -64,8 +64,6 @@ chown -R "$app:$app" "$install_dir" setcap 'CAP_NET_BIND_SERVICE=+eip CAP_NET_RAW=+eip' "$install_dir/AdGuardHome" -ynh_restore_file --origin_path="/etc/dnsmasq.d/$app" - systemctl restart dnsmasq #=================================================