openhab / openhab-syno-spk

openHAB Synology SPK Install Package
Eclipse Public License 2.0
161 stars 42 forks source link

fix error with checking if port is already used #151

Closed B4dT0bi closed 5 years ago

B4dT0bi commented 5 years ago

If there is an open port which partially matches one of the desired ports the check in start-stop-status script will fail.

E.g. if some process has port 18080 opened the search if port 8080 is already used will show that it is already used, but in this case it's not true.


This change is Reviewable

cniweb commented 5 years ago

@B4dT0bi Fix this #149 ?

B4dT0bi commented 5 years ago

@cniweb maybe, I got an issue when trying to start not during install.