1 import org.cloudifysource.dsl.utils.ServiceUtils
3 println "apache_start_detection.groovy: port http=${PORT} ..."
4 def isPortOccupied = ServiceUtils.isPortOccupied(Integer.parseInt(PORT))
5 println "apache_start_detection.groovy: isPortOccupied http=${PORT} ... ${isPortOccupied}"