From ab7f36757aeb43b5a606546447ffeef739ac8504 Mon Sep 17 00:00:00 2001 From: Danny Date: Fri, 25 May 2018 14:48:37 +0200 Subject: [PATCH] choose a random port between 9000 and 9100 to decrease chance of clashing with previous installer runs... --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index b49c630..6735527 100755 --- a/install.sh +++ b/install.sh @@ -4,7 +4,7 @@ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Defaults -SERVER_PORT="9000" # Port for Fathom server +SERVER_PORT="$(shuf -i9000-9100 -n1)" # Port for Fathom server # Check if running as root if [ "$EUID" -ne 0 ]; then