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(){