From 12e407f08b0a0ff3b367120853ccc4898473bc7d Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sat, 30 Dec 2023 23:38:57 +0100 Subject: [PATCH] check if the port 53 has really been released from dnsmasq --- scripts/_common.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/_common.sh b/scripts/_common.sh index d202174..fd88197 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -46,6 +46,8 @@ configure_network_interface_dnsmasq(){ systemctl restart dnsmasq ynh_store_file_checksum --file="/etc/dnsmasq.d/$app" + + ynh_port_available --port=53 || ynh_die --message="Port 53 is needs to be available for this app" } is_public_ip(){