diff --git a/scripts/config b/scripts/config index e75daaf..2748778 100644 --- a/scripts/config +++ b/scripts/config @@ -36,6 +36,8 @@ set__expose_port_53() { ynh_print_info --message="Updating the AGH config file..." update_agh_ip_config + # declare needs_exposed_ports according to real user need + ynh_print_info --message="Updating the YunoHost service for AdGuard Home..." if [ "$dns_over_https" == "true" ] && [ "$expose_port_53" == "true" ]; then yunohost service add "$app" --description="Ads & trackers blocking DNS server" --needs_exposed_ports "53" "$port_dns_over_http" "$port_dns_over_quic" elif [ "$dns_over_https" == "true" ]; then @@ -71,6 +73,7 @@ set__dns_over_https() { fi # declare needs_exposed_ports according to real user need + ynh_print_info --message="Updating the YunoHost service for AdGuard Home..." if [ "$dns_over_https" == "true" ] && [ "$expose_port_53" == "true" ]; then yunohost service add "$app" --description="Ads & trackers blocking DNS server" --needs_exposed_ports "53" "$port_dns_over_http" "$port_dns_over_quic" elif [ "$dns_over_https" == "true" ]; then