mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
backup & restore AGH dnsmasq config is now irrelevant (as it's regenerated at restore)
This commit is contained in:
parent
8aef567a04
commit
b913775894
2 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue